Send a file
send_fileSend any image, video, audio, voice note, or document from your computer as a WhatsApp message to a contact, group, or phone number.
Instructions
Send an image, video, audio file, voice note, or document from a local path.
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>",
"path": "<path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contact name, group name, phone number, or jid | |
| kind | No | auto | |
| path | Yes | Absolute path to the file on this computer | |
| caption | No |