tool_ids parameter.
Endpoint
POST /user/tools
Request
string
required
Tool name. Must contain only lowercase letters and underscores, and start with a letter (e.g.,
get_weather, book_appointment).string
required
Description of when and how the AI should use this tool. Maximum 255 characters. This description is passed to the AI model.
string
required
Valid URL of the API endpoint to call.
string
required
HTTP method:
GET, POST, PUT, PATCH, or DELETE.integer
default:"10"
Request timeout in seconds. Range: 1–30.
array
HTTP headers to send with the request.
array
Parameters the AI extracts from the conversation and sends to the endpoint.
Response
string
Confirmation message.
object
The created tool.
Example
201 Created
422 Invalid name format
tool_ids parameter in Create assistant or Update assistant.