Create Tool
Create a new tool for a bot. Tools extend bot capabilities with actions like API calls, call transfers, SMS sending, etc.
Path parameters
The unique identifier of the bot.
Request body
The type of tool that determines its behavior and required configuration.
Tool name (max 255 characters).
Description 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.
Request timeout in milliseconds.
JSON 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.
Response
Tool created successfully.
Unique numeric ID of the tool.
The type of tool that determines its behavior and required configuration.