editor.commands
Lists the Editor's commands, with their names, menus and keys.
JSON-RPC 2.0project.write
Parameters
None.
Result
- commands{ command: string, name: string, menu: string, keys: any }[]The commands.
From an AI agent
The MCP server's editor_command (action: list) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.commands"}lightair call editor.commandsconst result = lightair.call("editor.commands", {});