whatsapp_send_document
Deliver documents such as PDF, Word, and Excel to WhatsApp phone numbers using a publicly accessible URL. Optionally add a caption and filename.
Instructions
Send a document or file to a WhatsApp phone number. Supports PDF, Word, Excel, and other common formats.
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>",
"document_url": "<document_url>"
},
"name": "whatsapp_send_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| caption | No | Optional caption | |
| filename | No | Filename shown to recipient | |
| document_url | Yes | Publicly accessible URL of the document | |
| reply_to_message_id | No | Message ID to reply to |