Roll an edit point
roll_editAdjusts the edit point between a clip and its neighbor by a given offset, making one clip longer and the other shorter without moving other clips; can include linked clips.
Instructions
Roll the edit point at one edge of a clip: the cut between this clip and its neighbour moves by offset seconds (positive = later) - one clip gets longer, the other shorter, nothing else moves. edge "start" rolls the cut with the previous clip, "end" (default) the cut with the next clip. Needs source media on the clip that grows. include_linked (default true) rolls the same cut on the linked clips. Returns both clips around the edit.
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": {
"offset": "<offset>"
},
"name": "roll_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | Which edge of the clip to roll. Default "end". | |
| offset | Yes | Seconds to move the edit point; positive = later. Snapped to a frame. | |
| clip_id | No | Stable clip id (from get_sequence_structure / list_clips). Preferred. | |
| clip_index | No | 0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id. | |
| track_type | No | Used with track_index + clip_index when clip_id is not given. Default "video". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | 0-based track index (0 = V1 or A1). | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| include_linked | No | Also roll the clips linked to this one (the audio of a video clip, or the video of an audio clip). Default true. |