Send WhatsApp Document
whatsapp_send_documentSend a document (PDF, DOCX) to a WhatsApp user by providing a public URL and recipient phone number.
Instructions
Send a document (PDF, DOCX, etc.) to a WhatsApp user via a public URL.
Args:
to (string): Recipient phone number
document_url (string): Public URL of the document
filename (string, optional): Display filename
caption (string, optional): Document caption
Returns: Message ID and delivery status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in international format (e.g. '353851234567' or '+353851234567') | |
| caption | No | Optional caption for the document | |
| filename | No | Display filename for the document | |
| document_url | Yes | Public URL of the document to send | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |