Agents Platform

Update tool that is available in the workspace.

patch/v1/convai/tools/{tool_id}

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/tools/{tool_id}
  • Auth
    none 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

idstring required

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

    • breaking

      the // response property's min was decreased from 1.00 to -1.00 for the response status

    • info

      the // request property's min was decreased from 1.00 to -1.00