send_image_message
Send an image message on WhatsApp using an uploaded media ID or a public URL. Accepts recipient number, optional caption, and reply-to message ID.
Instructions
Send an image message via WhatsApp. Provide either an image_id (from media upload) or image_link (public URL).
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": "send_image_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number | |
| caption | No | Image caption | |
| image_id | No | Media ID from a previous upload | |
| image_link | No | Public URL of the image | |
| reply_message_id | No | Message ID to reply to |