send_file
Deliver images, audio, video, or documents over WhatsApp by specifying a recipient phone number or group JID and the absolute media file path.
Instructions
Send a file (image / raw audio / video / document) via WhatsApp. For group messages use the JID.
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 media file to send (image, video, document)
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 | |||