Skip to content
Changelog

widgets.button

Presses a button on a widget, such as a scoreboard's.

JSON-RPC 2.0project.write

Parameters

  • widgetstringrequiredThe widget's id, from widgets.list.
  • buttonstringrequiredThe button.

Errors

Invalid params (-32602) without widget and button, or when widgets aren't available.

From an AI agent

The MCP server's widgets (action: button) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "widgets.button",
"params": {}
}

widgets.list