Create a new tool for a bot. Tools extend bot capabilities with actions like API calls, call transfers, SMS sending, etc.
API key authentication. Include your API key in the Authorization header as: Authorization: Bearer <your-api-key>
The unique identifier of the bot.
Create a tool for a bot. Each tool type has different required fields and static_params structure. See the x-tool-examples section for complete examples of each type.
The type of tool that determines its behavior and required configuration.
api_request, function, end_call, transfer_call, dtmf, send_sms, send_email, call_booking, check_calendar_availability, check_working_hours Tool name (max 255 characters).
255Description of what the tool does. This is shown to the AI to help it decide when to use the tool.
API endpoint URL. Required for api_request type.
HTTP method for API requests. Defaults to get.
get, post Request timeout in milliseconds.
x >= 1JSON schema defining the tool's input parameters. The AI will extract these from the conversation.
If true, parameters is used as-is without transformation. This setting takes precedence over the type-derived default. Set to true for function type tools.
Static configuration that varies by tool type. See examples below for each type's schema.
If true, bot speaks a filler message while tool executes.
If true, bot announces the result after execution.
If true, tool runs asynchronously without blocking the conversation.
Tool created successfully.
Unique numeric ID of the tool.
The type of tool that determines its behavior and required configuration.
api_request, function, end_call, transfer_call, dtmf, send_sms, send_email, call_booking, check_calendar_availability, check_working_hours