waha_send_file
Send documents or files to WhatsApp chats using local file paths or URLs, with options for captions and custom filenames.
Instructions
Send a document/file to a WhatsApp chat (from local file OR URL)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID | |
| filePath | No | Local file path (e.g., "/tmp/document.pdf") | |
| fileUrl | No | URL of the file to send (can be HTTP URL or data: URL) | |
| mimetype | No | File MIME type (auto-detected if using filePath) | |
| filename | No | Display filename (auto-detected if using filePath) | |
| caption | No | File caption | |
| session | No | Session name | default |