playback_start
Start audio playback on a call by specifying an audio URL, with options to loop, overlay, stop existing audio, and target specific call legs.
Instructions
Start audio playback on a call.
Args:
call_control_id: Required. Call control ID.
audio_url: Required. URL of audio file to play.
loop: Optional. Number of times to loop the audio. Valid values: infinity, 1, 2, 3, 4, 5.
overlay: Optional boolean. Whether to overlay the audio on existing audio. Defaults to False.
stop: Optional. Which audio to stop. Valid values: current, all.
target_legs: Optional. Which leg(s) to play the audio on. Valid values: self, peer, both.
Returns:
Dict[str, Any]: Response data
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": {
"request": "<request>"
},
"name": "playback_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |