Send WhatsApp media
whatsapp_send_mediaSend an image, video, audio file, document, or sticker from a local path to a WhatsApp recipient, with optional type override and caption.
Instructions
Send a file (image/video/audio/document/sticker) from a local path.
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": "whatsapp_send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient JID, phone number, or contact/chat name | |
| path | Yes | Absolute or relative path to the file on this machine | |
| type | No | Override file type detection (default auto) | |
| caption | No | Caption (images, videos, documents) |