send_media
Send an image, video, audio, document, or sticker from a file in WHATSAPP_OUTBOUND_MEDIA_DIRS to an allowlisted WhatsApp chat when sending is enabled.
Instructions
Send an image, video, audio, document, or sticker from a regular file inside WHATSAPP_OUTBOUND_MEDIA_DIRS to an allowlisted chat. Requires WHATSAPP_SENDING_ENABLED=true.
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": {
"chatId": "<chatId>",
"mediaType": "<mediaType>",
"filePath": "<filePath>"
},
"name": "send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | ||
| caption | No | ||
| filePath | Yes | ||
| mediaType | Yes |