send_template
Requires an Advance plan key. Send an approved WhatsApp template; call list_templates first to confirm the template name and variables.
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": "<template>"
},
"name": "send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in digits. | |
| template | Yes | Name of an approved template. | |
| variables | No | Template variables as an object or an array of strings. |