send_audio_message
Send audio messages via WhatsApp Business API by providing recipient phone number and audio file URL. Use this tool to deliver voice messages through WhatsApp's business communication platform.
Instructions
Send an audio/voice message via WhatsApp Business API
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>",
"audio_url": "<audio_url>"
},
"name": "send_audio_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number with country code | |
| audio_url | Yes | Public URL of the audio file to send | |
| phone_number_id | No | WhatsApp Business phone number ID (optional, uses env var if not provided) |