Perform
performExecutes DaVinci Resolve timeline operations—split, close gaps, ripple delete, convert marks, or undo—by choosing scripts, keys, or menus and reporting the method and fallback.
Instructions
Do an operation in the best way that works now: scripts first, then keys, then menus. The answer names the way that was used and why others were not. A way that fails halfway is undone (if keys are on) before the next one; if that is not possible, it stops and names the snapshot.
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": {
"operation": "<operation>"
},
"name": "perform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | split: frame from the start of the timeline | |
| items | No | ripple_delete: the clips | |
| times | No | undo: steps | |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| snapshot | No | undo: go back until the timeline is as in this snapshot (from timeline_versions) | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| operation | Yes | ||
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. |