# editor.canvases.select

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

> Shows one of the open project's canvases.

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

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `canvas` | `string` | yes | The canvas's id or name. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | `string` | no | Its id. |

## Errors

Not found (-32004) for an unknown canvas. A state error (-32005) when no Editor project is open.

## Events

- `editor.changed`

## From an AI agent

The MCP server's `editor_canvases (action: select)` reaches this method.

## Related

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