send_template_message
Send pre-approved WhatsApp template messages to recipients. Use approved templates to ensure message compliance and deliverability without manual approval.
Instructions
Send a pre-approved template message via WhatsApp. Templates must be created and approved before 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>",
"template_name": "<template_name>",
"language_code": "<language_code>"
},
"name": "send_template_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number | |
| components | No | Template components for variable substitution: [{type: "body", parameters: [{type: "text", text: "value"}]}] | |
| language_code | Yes | Template language code (e.g. "en_US", "ko") | |
| template_name | Yes | Approved template name |