update_button
Change a button's words, its word to type, who may press it, or turn it off or on. Give only what should change. Owner only.
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": {
"button_id": "<button_id>"
},
"name": "update_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | false turns the button off without removing it; true turns it back on. | |
| label | No | New words for the button. | |
| button_id | Yes | The button's id (a uuid), from list_buttons. | |
| word_to_type | No | A new word to type before it runs. | |
| who_can_press | No | Who may press it besides the owner: any of "admin" and "agent". | |
| cannot_be_undone | No | Whether what it does cannot be undone. |