Tools

Execute Tool-First Workflow

Beta
POST

Request

This endpoint expects an object.
tool_name
stringRequired
content
stringRequired
model
enumOptional
An enumeration.
tool_kwargs
map from strings to anyOptional

Response

This endpoint returns an object
output_message
string
POST
1curl -X POST https://api.athenaintelligence.ai/api/v0/tools/first-agent \
2 -H "X-API-KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "tool_name": "tavily_search",
6 "content": "summarize the website in one paragraph",
7 "model": "mistral-large-0224",
8 "tool_kwargs": {
9 "query": "website: www.athenaintelligence.ai"
10 }
11}'
200
Successful
1{
2 "output_message": "The website www.athenaintelligence.ai provides information about Athena Intelligence, an AI-native analytics platform and artificial employee."
3}