Set item
set_itemChange timeline clip settings in DaVinci Resolve—enable/disable, rename, move, trim, crop, adjust opacity, blend, speed, fades, color, flags, and cache—with dry-run confirmation before applying.
Instructions
Change timeline clips: on/off, name, zoom, position, crop, opacity, blend mode, speed, fades, trims, track and position, color, flags, cache. Everything is read back. On clips with keyframes the keyframes win: check with export_frame.
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": {
"items": "<items>"
},
"name": "set_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| items | Yes | Timeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead. | |
| track | No | Move the clip to this track number | |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| enabled | No | ||
| fade_in | No | Frames | |
| fade_out | No | Frames | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| trim_end | No | New right handle in frames: larger cuts more from the end | |
| add_flags | No | ||
| clip_color | No | '' removes the color | |
| properties | No | Inspector values, e.g. {ZoomX: 1.2, ZoomY: 1.2, Pan: 100, Tilt: 0, RotationAngle: 5, CropLeft: 50, Opacity: 80, CompositeMode: 'screen', AudioVolume: -6}. Names as in get_item. All are applied, or none. | |
| trim_start | No | New left handle in frames: larger cuts more from the start | |
| clear_flags | No | ||
| color_cache | No | ||
| start_frame | No | Move the clip to this timeline frame | |
| fusion_cache | No | ||
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. | |
| speed_options | No | {PitchCorrection, StretchKeyframesToFit, RippleTimeline} | |
| speed_percent | No | 100 = normal, 50 = half speed, 0 = freeze frame | |
| burn_in_preset | No | ||
| output_blanking | No | {Top, Bottom, Left, Right} in pixels; {} = follow the timeline |