messenger_send_button_template
Sends a Messenger text message with up to three buttons to a recipient, enabling quick replies or actions directly within the chat.
Instructions
Send a text message with up to 3 buttons.
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": {
"psid": "<psid>",
"text": "<text>",
"buttons": "<buttons>"
},
"name": "messenger_send_button_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| psid | Yes | Page-Scoped User ID (PSID) of the recipient | |
| text | Yes | ||
| buttons | Yes | ||
| page_id | No | Facebook Page ID (falls back to MESSENGER_PAGE_ID env) | |
| access_token | No | Page Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env) |