Code (destructive)
code_deleteDelete code objects in DaVinci Resolve after reviewing a plan and confirming with a token; supports dry-run and snapshot backup.
Instructions
Remove code objects. op.action (params; * = required):
run_lua(code*): Run Lua through Fusion.Execute (off by default).
run_python(code*): Run Python with resolve/project/fusion globals; set
result(off by default). First call returns a plan + confirm_token; repeat it with confirm_token to apply. Calls known in advance (a sequence, the same change on several items): ONE batch_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | {action, ...params}. Parameters per action: see the description or this server's describe_action tool. | |
| dry_run | No | true: return the planned effect, change nothing. | |
| snapshot | No | true: back up the timeline/project first; omitted: server policy. | |
| confirm_token | No | From the first call's plan; repeat that call with it to apply. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| plan | No | ||
| status | Yes | ||
| receipt | No |