click_button
Clicks a button on a Discord bot message by label or custom ID, returning the bot's response or a modal to fill.
Instructions
Click a button on a bot message (by label or custom_id). Returns the bot's response or a modal to fill.
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": {
"message": "<message>"
},
"name": "click_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Button label (or emoji) | |
| message | Yes | Message link, or message ID with channel_id | |
| custom_id | No | ||
| channel_id | No | ||
| wait_seconds | No |