controls

Lists the key bindings shown in the Options screen’s Controls list: each action’s name, description, and primary and secondary keys as displayed (“Ctrl + T”, or “” for none). Actions added by plugins are included. Read only; works in any mode once the game has started.

Read-only: it changes nothing in the game.

Arguments

Name Type Required What
match string   Only actions whose name or description contains this text, in any case. Default: all.

Call it as controls over MCP, or POST /api/tool/controls with the arguments as JSON.