waba_reply
Send text, media, or interactive replies to a customer's WhatsApp message within the 24-hour service window; check conversation status first, otherwise send a template.
Instructions
Reply with free-form text or media through the official API. Only allowed within 24 hours of the customer's last message — use waba_list_conversations to check first. Outside that window the API rejects it and you must send a template instead.
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>",
"message": "<message>"
},
"name": "waba_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The customer who messaged you first | |
| message | Yes | Message object: {"type":"text","text":"..."} or {"type":"image","media_url":"https://...","caption":"..."} or {"type":"interactive","interactive":{...}} | |
| waba_id | Yes | WhatsApp Business Account ID |