Send WhatsApp reply buttons
send_interactive_buttonsSends WhatsApp messages with up to three quick-reply buttons; taps return button id and title to your webhook, enabling guided user responses within an open 24-hour service window.
Instructions
Send up to 3 quick-reply buttons with a message. The user's tap is delivered to your webhook as a button reply (id + title). Requires an open 24-hour customer-service window.
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": {
"to": "<to>",
"body": "<body>",
"buttons": "<buttons>"
},
"name": "send_interactive_buttons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number, ideally E.164 (e.g. +971501234567) | |
| body | Yes | Main message text | |
| footer | No | Optional footer text | |
| header | No | Optional text header | |
| buttons | Yes | 1–3 quick-reply buttons | |
| reply_to_message_id | No | Optional wamid of a message to reply to (shown as a quoted reply) |