editor.projects.list
Lists the Editor's projects in the open workspace, with their length, size and which one is open.
JSON-RPC 2.0project.read
The Editor's methods are answered whether or not the Editor is on screen. Projects, canvases and media are named by id or by name; clips by id. Times are milliseconds on the canvas's timeline, and every change is an undo step.
newer marks a project made by a newer Lightair: it opens read-only, and changes are refused until it's saved as a copy with editor.projects.save_copy.
Parameters
None.
Result
- projects{ id: string, name: string, modified_ms: number, duration_ms: number, size: [number, number], canvases: number, open: boolean, newer: boolean }[]The projects.
Errors
A state error (-32005) when no workspace is open.
From an AI agent
The MCP server's editor_projects (action: list) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.projects.list"}lightair call editor.projects.listconst result = lightair.call("editor.projects.list", {});Related
editor.projects.open · editor.projects.new · editor.timeline.get