send_waba_template
Send approved WhatsApp templates for business-initiated chats via the official Business API. Use WABA ID, phone number, template name, and optional header/body variables.
Instructions
Send an approved WhatsApp template through the official WhatsApp Business API. Business-initiated conversations MUST use a template. Templates cannot be replaced with free text. WABA cannot send to groups and is addressed by waba_id, not device_id.
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": {
"waba_id": "<waba_id>",
"to": "<to>",
"template_name": "<template_name>"
},
"name": "send_waba_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in international format without + (e.g. 6281234567890) | |
| header | No | Header component. Required when the template has a media or dynamic text header, e.g. {"type":"document","link":"https://.../file.pdf","filename":"file.pdf"} | |
| waba_id | Yes | WhatsApp Business Account ID (not the device ID) | |
| variables | No | Body variables in order, filling {{1}}, {{2}}, and so on | |
| template_name | Yes | Approved template name, e.g. hello_world |