Arrange items
arrange_itemsOrganizes timeline clips by deleting, closing gaps, linking, moving, grouping, aligning, and managing takes or multicam, with dry-run confirmation for destructive edits.
Instructions
Arrange timeline clips: delete (with or without closing the gap), close all gaps, link, unlink, move a group, make compound or Fusion clips, paste attributes, align by sound or timecode, takes, multicam. Deleting actions need the user's agreement. Resolve has no script command for the razor: to split, append the same source range twice and trim both with set_item.
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": {
"action": "<action>"
},
"name": "arrange_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | add_take: media pool clip | |
| name | No | ||
| take | No | Take number, from 1 | |
| items | No | Timeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead. | |
| track | No | ||
| action | Yes | ||
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| options | No | copy_attributes: on/off values, e.g. {allVideoAttributes: true} or {opacity: true, colorCorrection: true}; auto_align: {by: waveform|timecode}; multicam: SmartSwitchSettings; flatten_multicam: {grade: copy_grade|retain_grade_from_angle} | |
| targets | No | copy_attributes: clips that receive the attributes | |
| in_frame | No | ||
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| out_frame | No | ||
| move_linked | No | ||
| start_frame | No | ||
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. |