waha_send_file
Send a document from a URL, local path, or base64 data to a WhatsApp chat with an optional caption.
Instructions
Send a document from a URL, local path, or base64 data, with optional caption.
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": {
"session": "<session>",
"chat_id": "<chat_id>"
},
"name": "waha_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| path | No | ||
| caption | No | ||
| chat_id | Yes | ||
| session | Yes | ||
| filename | No | ||
| mimetype | No | ||
| data_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||