send_media
Send media files (image, video, or document) to a WhatsApp number using a public URL, with an optional caption.
Instructions
Envia midia (imagem, video ou documento) por uma URL publica, com legenda opcional.
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": {
"number": "<number>",
"type": "<type>",
"file": "<file>"
},
"name": "send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | URL publica do arquivo. | |
| text | No | Legenda (opcional). | |
| type | Yes | ||
| number | Yes | ||
| instance | No |