send_audio_message
Send any audio file as a WhatsApp audio message to a phone number or group JID; converts to Opus .ogg when needed for WhatsApp delivery.
Instructions
Send any audio file as a WhatsApp audio message. For group messages use the JID.
If ffmpeg isn't installed, use send_file instead.
Args: recipient: The recipient — either a phone number with country code but no + or other symbols, or a JID (e.g., "123456789@s.whatsapp.net" or a group JID like "123456789@g.us") media_path: The absolute path to the audio file (will be converted to Opus .ogg if needed)
Returns: A dictionary containing success status and a status message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipient | Yes | ||
| media_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||