Skip to main content
Glama
grrek
by grrek

send_file

Send files like images, videos, audio, or documents through WhatsApp with optional captions and custom file names.

Instructions

Send a file (image, video, audio, document) via WhatsApp.

Args:
    to: Recipient phone number or JID
    file_path: Path to the file on the server
    caption: Optional caption for the file
    filename: Optional display name (defaults to file basename)
    mime: Optional MIME type override

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
file_pathYes
captionNo
filenameNo
mimeNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/grrek/mcp-wacli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server