send_media
Send local files or URLs as WhatsApp media, choosing from image, video, document, audio, voice note, or sticker. Includes optional caption and requires confirmation.
Instructions
Envia um arquivo local ou URL. Exige confirmação em duas etapas, como send_text.
tipo: image, video, document, audio, ptt (áudio de voz) ou sticker.
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": {
"chat": "<chat>",
"arquivo": "<arquivo>"
},
"name": "send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| tipo | No | document | |
| arquivo | Yes | ||
| legenda | No | ||
| instance | No | ||
| confirmar | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |