editor.clip.compound
Makes clips into one compound clip, opens or closes one, or breaks one apart.
JSON-RPC 2.0project.write
Parameters
- actionstring
make,open,closeorbreak. Defaultmake. - clipsstring[]For
make: the clips' ids. - clipstringFor
openandbreak: the compound clip's id. - canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Result
- clipstringFor
make: the compound clip's id. - clipsstring[]For
break: the clips it was made of.
Errors
Invalid params (-32602) for make without clips, or an unknown action. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.
Events
Subscribers to events get editor.changed.
From an AI agent
The MCP server's editor_compound (action: make, open, close or break) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.clip.compound", "params": {}}lightair call editor.clip.compoundconst result = lightair.call("editor.clip.compound", {});