editor.canvases.select
Shows one of the open project's canvases.
JSON-RPC 2.0project.write
Parameters
- canvasstringrequiredThe canvas's id or name.
Result
- idstringIts id.
Errors
Not found (-32004) for an unknown canvas. A state error (-32005) when no Editor project is open.
Events
Subscribers to events get editor.changed.
From an AI agent
The MCP server's editor_canvases (action: select) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.canvases.select", "params": {}}lightair call editor.canvases.selectconst result = lightair.call("editor.canvases.select", {});