Voice agentsAgent tools
Create tool
Adds a tool to one of your agents. An agent can have each tool_type once per channel.
/v2/toolsAuthorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <api_key>, where<api_key>is a key from Account Settings → API keys in your dashboard.
Request body
application/json
agent_idstring (uuid)requiredThe agent to add the tool to.
tool_typestringrequiredA built-in type, or your custom tool's task name.
configobjectTool settings. The shape depends on
tool_type.Default:{}credentialsobjectSecrets the tool needs, e.g.
{"api_key": "..."}. Stored encrypted, never returned.channelstringWhich agent channel uses the tool.
Allowed:telephonywhatsappDefault:telephony
Response
The created tool object.
Show all 9 fieldsHide fields
idstring (uuid)Unique identifier of the tool.
agent_idstring (uuid)Agent the tool belongs to.
tool_typestringBuilt-in type (
call_transfer,cal_com_booking,knowledge_base,media_attachment,static_response,whatsapp_template) or, for a custom tool, its task name.is_enabledbooleanWhether the agent may use the tool.
configobjectTool settings. The shape depends on
tool_type.has_credentialsbooleanWhether secret credentials are stored. Credentials are never returned.
channelstringtelephonyfor the voice agent,whatsappfor the WhatsApp text agent.Allowed:telephonywhatsappcreated_atstring (date-time)When the tool was created.
updated_atstring (date-time)When the tool was last changed.