voice_session
Open a realtime voice session by submitting a WebRTC SDP offer; use the returned answer to connect the client, with audio streaming directly between client and OpenAI.
Instructions
Realtime sesli oturum açar. İstemci WebRTC SDP offer üretir, dönen answer ile bağlanır; ses istemci↔OpenAI arasında doğrudan akar.
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": {
"offer": "<offer>"
},
"name": "voice_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | WebRTC SDP offer | |
| voice | No | cove | |
| instructions | No |