editor.clip.delete
Deletes one clip or several from the timeline.
JSON-RPC 2.0project.write
Parameters
- clipstringA clip's id.
- clipsstring[]Several clips' ids, instead of
clip. - canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Errors
Invalid params (-32602) without clip or clips. 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_clip (action: delete) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.clip.delete", "params": {}}lightair call editor.clip.deleteconst result = lightair.call("editor.clip.delete", {});