Home / Servers / ElevenLabs API / get_livekit_token
Get Webrtc Token
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Get Webrtc Token Get a WebRTC session token for real-time communication. [GET /v1/convai/conversation/token]
Name on the gateway: elevenlabs_api__get_livekit_token · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
agent_id required | string | Agent id (agent_…) or speech engine external id (seng_), resolved to the same… |
participant_name | string | Optional custom participant name. If not provided, user ID will be used |
branch_id | string | The ID of the branch to use |
version_id | string | The ID of the version to use |
environment | string | The environment to use for resolving environment variables (e.g. 'production'… |
debug_events_request | boolean | Whether to enable debug events. Only available for users with editor access to… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "elevenlabs_api__get_livekit_token",
"arguments": {
"agent_id": "…"
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get webrtc token tool with agent_id set to ….