Assistants
Update Tool
Changed onUpdate the configuration of an existing AI tool.
patch/ai/tools/{tool_id}
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/ai/tools/{tool_id}
- Auth: HTTP bearer
Path parameters
tool_idstring required
Unique identifier of the tool.
Request body
Example request
{
"pay": {
"connector_parameters": {
"campaignid": "abc",
"customer_ref": "CUST-67890"
},
"valid_card_types": [
"visa",
"mastercard"
]
},
"update_dynamic_variables": {
"name": "collect_details",
"description": "Collect caller details into conversation variables.",
"updatable_variables": [
{
"name": "customer_name",
"type": "string",
"description": "The caller's full name."
}
]
}
}Response
Successful Response
Changes
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info
- info
added the new optional request property
- info