Voice agentsAgent tools
Update tool
Updates only the fields you send.
/v2/tools/{id}config and credentials are replaced as a whole -- send the complete object, not just the keys that changed.Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <api_key>, where<api_key>is a key from Account Settings → API keys in your dashboard.
Path parameters
idstring (uuid)requiredThe tool's id.
Request body
application/json
is_enabledbooleanTurn the tool on or off.
configobjectNew tool settings.
credentialsobjectNew secrets.
channelstringMove the tool to the other channel.
Allowed:telephonywhatsapp
Response
The updated 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.