waha_send_file
Send a file to a WhatsApp chat via URL. Specify the file URL, MIME type, filename, and optional caption.
Instructions
Send a file/document to a WhatsApp chat via 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": {
"chatId": "<chatId>",
"url": "<url>",
"mimetype": "<mimetype>",
"filename": "<filename>"
},
"name": "waha_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | File URL | |
| chatId | Yes | ||
| caption | No | ||
| filename | Yes | Filename shown in chat | |
| mimetype | Yes | MIME type e.g. application/pdf |