Send WhatsApp template
whatsapp_send_templateSends an approved WhatsApp template message to one recipient; templates can be sent outside the 24-hour session window. Variables map placeholder numbers to values, e.g. {"1":"Rahul","2":"15 Jul"}. With dryRun: true it returns the message that would be sent, without sending.
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>",
"templateName": "<templateName>"
},
"name": "whatsapp_send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient in international format, e.g. +919876543210 | |
| dryRun | No | ||
| language | No | Template language code, default en | |
| variables | No | Body variables keyed by placeholder number, e.g. {"1":"Rahul"} | |
| templateName | Yes | Approved template name |