Create a tool
Save a tool. Attach it to agents with POST /v1/agents/{id}/tools.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
snake_case function name, e.g. get_order_status
description
What it does and when the agent should use it
url
The API to call; {param} placeholders in the path or query
display_name
parameters
JSON Schema {type: object, properties, required}
method
headers
e.g. {X-Api-Key: …}; never returned
response_mapping
{name: dot.path} to keep from the response
timeout
Response
Successful Response
Errors
422
Unprocessable Entity Error
