whatsapp_send_template
Send an APPROVED WhatsApp template message (official Meta API connection only).
This is the ONLY way to message a contact outside the 24-hour customer service
window (24 h since the contact's last message to you); whatsapp_send fails there.
Get the exact template name, language and variables from whatsapp_templates.
components follows Meta's format, e.g.
[{ "type": "body", "parameters": [{ "type": "text", "text": "Maria" }] }].
Result: { sent:true, id, delivery:"accepted_by_server" }; follow delivery with
whatsapp_message_status. Meta bills template conversations to the account owner.
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": "<name>",
"language": "<language>"
},
"name": "whatsapp_send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| name | Yes | ||
| account | No | ||
| language | Yes | ||
| components | No |