Create WebRTC Voice Session
lyzr_create_webrtc_sessionCreate a WebRTC voice session by providing an agent ID and voice ID to enable real-time audio communication.
Instructions
Create a WebRTC voice session for an agent + voice id.
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>",
"voice_id": "<voice_id>"
},
"name": "lyzr_create_webrtc_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent id | |
| voice_id | Yes | The voice id (e.g. an ElevenLabs voice) |