whatsapp_send_text
Send a WhatsApp message (text or media). Actions:
text: { to, text, reply_to? }
media: { to, type ('image'|'video'|'audio'|'document'|'sticker'), media_url | media_base64, caption?, filename?, mimetype? }
to accepts either a JID ('5511999999999@s.whatsapp.net', '@g.us') or
a plain phone (digits, country code included). For groups always use the
'@g.us' JID — get it from whatsapp_groups.
Result: sent:true + delivery:"accepted_by_server" means WhatsApp's server
accepted the message (it has an id). It is NOT a read/delivery receipt from the
recipients' phones. If the message did not go out, the call fails with the reason.
[Flattened action: text]
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>"
},
"name": "whatsapp_send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| text | No | ||
| type | No | ||
| account | No | ||
| caption | No | ||
| filename | No | ||
| mimetype | No | ||
| reply_to | No | ||
| media_url | No | ||
| media_base64 | No |