send_whatsapp_template
Send an approved WhatsApp template message from the account's connected WhatsApp Business number. Templates may open a conversation at any time (no 24-hour window). Billed like the same send on POST /v1/messages.
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>",
"template_name": "<template_name>"
},
"name": "send_whatsapp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 format (+212600000000) | |
| language | No | Template language code (e.g. fr, en_US, ar). Defaults to the template's own language. | |
| variables | No | Values for the template body placeholders {{1}}, {{2}}, … in order | |
| template_name | Yes | Name of an approved WhatsApp template on the account | |
| phone_number_id | No | Optional: which connected WhatsApp number sends (defaults to the account's default number) |