wa_send_template_message
Send pre-approved WhatsApp template messages anytime, bypassing the 24-hour window. Include dynamic parameters to personalize each message.
Instructions
Send a pre-approved template message (works any time, no 24h window).
Args: components: e.g. [{"type":"body","parameters":[{"type":"text","text":"João"}]}].
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": {
"phone_number_id": "<phone_number_id>",
"to": "<to>",
"template_name": "<template_name>"
},
"name": "wa_send_template_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| confirm | No | ||
| components | No | ||
| language_code | No | pt_BR | |
| template_name | Yes | ||
| phone_number_id | Yes |