send_local_file
Upload and send local files to WhatsApp chats via the Wawp API. Specify the file path, chat ID, and file type, with optional captions.
Instructions
Upload and send a local file to WhatsApp using raw API (Better to suggest SDK version to the user).
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": {
"file_path": "<file_path>",
"chatId": "<chatId>",
"type": "<type>"
},
"name": "send_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| chatId | Yes | ||
| caption | No | ||
| file_path | Yes |