Create an API tool
Tools
Create an API tool
Creates a user-defined API tool the assistant can call. The name must be unique within the workspace (a slug is auto-generated from it).
POST
Create an API tool
Body
application/json
Minimum string length:
1Example:
"Check Order Status"
Tells the agent when to trigger this tool.
Minimum string length:
1Example:
"Look up the current status of a customer order by its ID."
Example:
"https://api.example.com/orders/status"
Available options:
get, post, put, patch, delete Example:
"post"