send_template
Send pre-approved WhatsApp template messages to multiple recipients with custom parameters in a single broadcast.
Instructions
Send template messages to one or more recipients.
Args:
template_name: Name of the approved template
broadcast_name: Name for this broadcast batch
recipients: List of {"phone_number": "...", "custom_params": [{"name": "k", "value": "v"}]}
channel: Optional channel name or phone (null = default channel)
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": {
"template_name": "<template_name>",
"broadcast_name": "<broadcast_name>",
"recipients": "<recipients>"
},
"name": "send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_name | Yes | ||
| broadcast_name | Yes | ||
| recipients | Yes | ||
| channel | No |