wa_send_image
Send an image as a WhatsApp photo with an optional caption from a local file or URL.
Instructions
Send an image as a photo with an optional caption — from a local file OR a URL (e.g. an AI-generated image on a CDN).
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>"
},
"name": "wa_send_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number (e.g. 923001234567), or full JID ...@g.us | |
| url | No | Image URL to fetch and send (alternative to file_path) | |
| caption | No | Caption shown under the photo | |
| file_path | No | Absolute path of the local image file to send |