Timeline edit
timeline_editEdit Resolve timelines by splitting, inserting, overwriting, ripple-trimming clips, or fitting a clip to a gap via speed changes, with a dry-run plan before applying.
Instructions
Cut a clip in two, insert a clip and push the rest, overwrite a part, trim and close the gap, or fill a gap by changing the speed. Works without keys or mouse. For titles, changed speeds and other frame rates it says so: use the razor key then.
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": "timeline_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ripple_trim: frames to cut off; negative gives frames back | |
| clip | No | insert, overwrite, fit_to_fill: media pool clip | |
| edge | No | ripple_trim | end |
| item | No | split: one clip, empty = every clip at this frame; ripple_trim: the clip | |
| frame | No | Frame from the start of the timeline: where to cut or place | |
| media | No | both | |
| track | No | ||
| action | Yes | ||
| length | No | fit_to_fill: frames to fill on the timeline | |
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| in_frame | No | ||
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| out_frame | No | First source frame that is NOT used | |
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. |