whatsapp_send_file
WhatsApp · macOS
Effect: send (strongest supported action). Status: gated.
Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.
macOS
Purpose
Sends a file attachment to a WhatsApp chat. The chat_id MUST come from a previous whatsapp_list_chats call — never fabricate IDs. file_path must be an absolute path to a local file. This is a write operation: the first call (confirm=false) returns a preview without sending; set confirm=true to actually send. ⚠️ Uses Wacli (unofficial WhatsApp client). Accounts may be restricted for ToS violations.
Required inputs
chat_id— Chat ID from whatsapp_list_chatsfile_path— Absolute path to the local file to send
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — macOS
{
"properties": {
"caption": {
"description": "Optional caption text to accompany the file",
"type": "string"
},
"chat_id": {
"description": "Chat ID from whatsapp_list_chats",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"file_path": {
"description": "Absolute path to the local file to send",
"type": "string"
}
},
"required": [
"chat_id",
"file_path"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"chat_id": "[email protected]",
"confirm": false,
"file_path": "/Users/demo/Documents/launch-checklist.pdf"
}