editor.zooms.list
Lists a canvas's zooms, and whether the zoom track is shown and played.
JSON-RPC 2.0project.read
Parameters
- canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Result
- shownbooleanWhether zooms are drawn and played.
- zooms{ zoom: number, start_ms: number, end_ms: number, scale: number, focus: "pointer" | { x: number, y: number }, auto: boolean }[]The zooms, numbered from 1.
Errors
A state error (-32005) when no Editor project is open.
From an AI agent
The MCP server's editor_status (action: zooms) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.zooms.list", "params": {}}lightair call editor.zooms.listconst result = lightair.call("editor.zooms.list", {});