send_file_via_url
Send a file to a WhatsApp recipient using a public URL, eliminating the need for local downloading.
Instructions
Send a file by URL without downloading it locally first.
Args:
target: Recipient phone number with country code, no + (e.g. "85264318721")
file_url: Public URL of the file to send
caption: Optional caption
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": {
"target": "<target>",
"file_url": "<file_url>"
},
"name": "send_file_via_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| file_url | Yes | ||
| caption | No |