Agents Platform
Update Tool
Changed onUpdate tool that is available in the workspace.
patch/v1/convai/tools/{tool_id}
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/convai/tools/{tool_id}
- Authnone declared
Path parameters
tool_idstring required
ID of the requested tool.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"tool_config": {
"response_timeout_secs": 20,
"type": "webhook"
}
}Response
Successful Response
Example response
{
"tool_config": {
"response_timeout_secs": 20,
"type": "webhook"
},
"access_info": {
"access_source": "creator",
"creator_email": "john.doe@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
}
}Changes
- info
added the new optional request property
////// - info
added the optional property
//////to the response with the status
- info
- breaking
the
//response property's min was decreased from1.00to-1.00for the response status - info
the
//request property's min was decreased from1.00to-1.00
- breaking