# editor.commands

Source: https://docs.lightair.app/developers/remote-api/editor.commands

> Lists the Editor's commands, with their names, menus and keys.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `commands` | `{ command: string, name: string, menu: string, keys: any }[]` | no | The commands. |

## From an AI agent

The MCP server's `editor_command (action: list)` reaches this method.

## Related

- [editor.command](https://docs.lightair.app/developers/remote-api/editor.command.md)
