send_voice_note
Send an audio file as a WhatsApp voice note, automatically converting non-Ogg audio to Ogg/Opus so recipients can play it in chat.
Instructions
Send an audio file as a voice note. Non-Ogg audio is converted to Ogg/Opus with ffmpeg into a temporary folder under exports_dir/outgoing. File folders as in send_file; recipient rules and approval as in send_message.
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": {
"to": "<to>",
"path": "<path>"
},
"name": "send_voice_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| path | Yes | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default | |
| confirm | No | ||
| reply_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||