ask_buttons
Ask allowed users or roles a question with clickable buttons, wait for a click, and return the selected option for approvals, choices, or sign-offs.
Instructions
Ask people a question with buttons and WAIT for a click: approvals ("Ship it" / "Hold"), choices, sign- offs. Only allowed_users / allowed_roles count (anyone when both omitted). The click is acknowledged instantly, the message is updated to show who chose what, and the choice is returned. Needs the gateway, and the bot must not have an Interactions Endpoint URL set (then clicks go to that URL instead). mention = text put before the question (e.g. "<@123>") to ping someone. Timeout max 3600 s.
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": {
"channel": "<channel>",
"question": "<question>",
"options": "<options>"
},
"name": "ask_buttons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| guild | No | ||
| channel | Yes | ||
| mention | No | ||
| options | Yes | ||
| question | Yes | ||
| embed_color | No | ||
| allowed_roles | No | ||
| allowed_users | No | ||
| timeout_seconds | No |