whatsapp_send_image
Send an image from your computer to any WhatsApp contact using a local file path. Works with JPG, PNG, GIF, and other common formats, with optional caption support.
Instructions
Send an image from a local absolute file path. The file must exist and be a valid image (jpg, png, gif, webp, etc.).
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>",
"imagePath": "<imagePath>"
},
"name": "whatsapp_send_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number (digits only, with country code) or a full JID. | |
| caption | No | Optional caption text to accompany the image. | |
| imagePath | Yes | Absolute path to the image file on disk. |