Create mid call tool
Create mid call tool
Create a new mid-call tool for AI assistant integration
POST
Create mid call tool
Create a new mid-call tool that enables your AI assistants to interact with external APIs during phone conversations.
Body Parameters
Tool identifier - must use only lowercase letters and underscores, starting with a letter (examples:
get_weather, book_appointment)Clear explanation of when and how the AI should use this tool (maximum 255 characters)
Valid URL of the API endpoint to call
HTTP method to use:
GET, POST, PUT, PATCH, or DELETERequest timeout in seconds (range: 1-30, default: 10)
HTTP headers to include in the request
Parameters the AI will extract from conversation and send to the endpoint
Response Fields
Success confirmation message
The created tool object
Attaching Tools to Assistants
After creating a tool, attach it to an assistant to use it during calls. Manage tool assignments through the Assistant API:- Create Assistant - Use the
tool_idsparameter to attach tools when creating an assistant - Update Assistant - Use the
tool_idsparameter to add, remove, or replace tools on an existing assistant

