waha_send_voice
Send voice messages to WhatsApp chats using local files or URLs, with automatic audio conversion for compatibility.
Instructions
Send a voice message to a WhatsApp chat (from local file OR URL)
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": {
"chatId": "<chatId>"
},
"name": "waha_send_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID | |
| audioPath | No | Local file path (e.g., "/tmp/voice.mp3") | |
| audioUrl | No | URL of the audio file (OGG/Opus format preferred) | |
| convert | No | Auto-convert to Opus format (recommended for MP3/WAV) | |
| session | No | Session name | default |