whatsapp_send_template
Send an approved WhatsApp template to a recipient, replacing header, body, and button placeholders with dynamic values.
Instructions
Send an approved WhatsApp message template. Templates are pre-approved messages used for business-initiated conversations. Supports header, body, and button components with dynamic variable substitution.
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": "whatsapp_send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 format, e.g. +15551234567 | |
| components | No | Template components with dynamic values. Include header, body, and/or button components as needed. | |
| language_code | Yes | Language code for the template, e.g. en_US, pt_BR, es, fr | |
| template_name | Yes | Name of the approved template to send | |
| reply_to_message_id | No | Message ID to reply to |