get_agent_widget_route
Retrieve the widget configuration for an ElevenLabs agent using its ID, enabling embedding or initiating conversations.
Instructions
Get Agent Widget Config
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "get_agent_widget_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The id of an agent. This is returned on agent creation. | |
| conversation_signature | No | An expiring token that enables a websocket conversation to start. These can be generated for an agent using the /v1/convai/conversation/get_signed_url endpoint |