Assistants
Create Tool
Create a new custom AI tool that can be attached to AI assistants.
post/ai/tools
Request body
Example request
{
"update_dynamic_variables": {
"description": "Collect caller details into conversation variables.",
"name": "collect_details",
"updatable_variables": [
{
"description": "The caller's full name.",
"name": "customer_name",
"type": "string"
}
]
}
}Response
Successful Response
Changes
Changed in 4 of the 61 revisions of this API.13
- ○
added the new optional request property
update_dynamic_variablesnew-optional-request-property
- ○
- ○
added the new optional request property
paynew-optional-request-property
- ○
- ○
added the new optional request property
client_side_toolnew-optional-request-property
- ○
- ●
removed the request property
client_side_toolrequest-property-removed
This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●