Call and play audio
call_audioInitiates a real phone call that plays a specified WAV audio file and returns a request ID, with optional scheduling and caller ID.
Instructions
Place a real phone call that plays a WAV file (PCM 16-bit, 8 kHz, mono) inside the configured file folder. Returns a request 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": {
"phone": "<phone>",
"audio_file": "<audio_file>"
},
"name": "call_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | One phone number, such as 650-555-0100. | |
| caller_id | No | Caller ID to use. It must already be set up in Voicent. | |
| audio_file | Yes | Full path to the WAV file. | |
| keep_record | No | Keep the record afterwards so its status can be checked. If false, it is deleted automatically. | |
| schedule_minutes | No | Do this many minutes from now. Leave out to do it right away. |