Edit a Studio project with ops
studio_patchFree. Apply editor ops in one step. Op names (exact): set_line {uid, line} | insert_scene | remove_scene {uid} | reorder_scenes | split_scene {uid} | merge_scenes {uid} | bind_visual {uid, visual} | set_visual_fields {uid, ...} | clear_visual {uid} | apply_mix {mix} | set_setting {path, value} | set_aspect {aspect} | set_title {title} | set_tier {tier} | set_shots {uid, shots}. An unknown op is refused in words; read the scene uids from studio_get_project. A 409 means the project changed: you get the new revision and the ops are NOT re-applied.
Args: project_id: project. ops: 1-50 ops, each {op, ...fields}. if_revision: the revision you read.
Returns: {ok, project:{...summary}} or {ok:false, error_code:"revision_conflict", revision}
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": {
"project_id": "<project_id>",
"ops": "<ops>",
"if_revision": "<if_revision>"
},
"name": "studio_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| project_id | Yes | A project id from studio_list_projects. | |
| if_revision | Yes |