Send WhatsApp template
send_whatsapp_templateSends an approved WhatsApp template outside the 24-hour reply window; provide the template name, language code, and body parameters in order.
Instructions
Send an approved WhatsApp template (works outside the 24 hour window). Pass the template name, its language code and the body parameters in order. Use list_whatsapp_templates first. Marketing templates need the customer's opt-in.
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": {
"conversation_id": "<conversation_id>",
"name": "<name>",
"language": "<language>"
},
"name": "send_whatsapp_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name. | |
| language | Yes | Template language code, for example en_US, tr, de. | |
| parameters | No | Body parameter values in order ({{1}}, {{2}}, ...). | |
| conversation_id | Yes | The other party id as returned by list_conversations: phone number (WhatsApp), PSID (Messenger), IGSID (Instagram) or chat id (Telegram). |