Edit the open project
edit_projectChange the open project in place — the way to tweak an open effect: one undo step, only the layers it changes rebuilt, the result checked and drawn.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"patch": "<patch>"
},
"name": "edit_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Draw the sheets on a fixed world rectangle instead of a framing of everything that shows (one oversized layer shrinks the rest): "framing" — the open project's Framing — or { minX, maxX, minY, maxY } in world px, y up (a 1080×1920 screen centred on the effect: -540…540, -960…960). Kept for the session's next builds, patches too; "auto" goes back to framing everything. | |
| patch | Yes | Changes to the spec the latest get_project returned (after an edit, to the project as it is now) — paths as it names them, or a layer by its id ("#sparks.sizeMode", "#g.layers[-]"). Layers added, removed, changed, moved; the length; the Quick Tweaks; the events and durationAt; not the tempo variants, animations or the intro / idle / outro set (build_effect + open_in_editor for those). |