Send a WhatsApp template message
bridge_send_templateSend an approved template (works outside the 24-hour window). components follows the Meta Cloud API format. This sends a real message and Meta may charge for it.
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>",
"name": "<name>",
"language": "<language>"
},
"name": "bridge_send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone in international format without +. | |
| name | Yes | Template name. | |
| waba_id | Yes | WhatsApp Business Account ID registered to your partner account (see bridge_list_numbers). | |
| language | Yes | Template language code, e.g. en_US, ms. | |
| components | No | Optional Meta template components (header/body/button parameters). | |
| idempotency_key | No | Optional Idempotency-Key (1-255 chars). Reuse the same key when retrying the same message: a repeat with the same key and body within 24 hours returns the original response and does not send again. | |
| biz_opaque_callback_data | No | Optional biz_opaque_callback_data: your own reference (order id, ticket id), max 512 chars. Meta returns it on every status webhook of this message as data.biz_opaque_callback_data. |