whatsapp_send_media
Send media messages (image, video, audio, document, sticker) via WhatsApp by providing a media ID or URL along with authentication and recipient details.
Instructions
Send a media message (image, video, audio, document, sticker) via WhatsApp.
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": {
"bearer_token": "<bearer_token>",
"phone_number_id": "<phone_number_id>",
"to": "<to>",
"media_type": "<media_type>"
},
"name": "whatsapp_send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| caption | No | ||
| filename | No | For documents: the display filename | |
| media_id | No | ID of a previously uploaded media object | |
| media_link | No | URL of the media to send | |
| media_type | Yes | image, video, audio, document, or sticker | |
| bearer_token | Yes | ||
| phone_number_id | Yes |