Slide clip
slide_clipMoves a clip by an offset in seconds, trimming its neighbours' edges to preserve total sequence length. Use it to shift timing while keeping surrounding clips adjacent.
Instructions
Slide a clip between its neighbours: the clip moves by offset seconds (positive = later) keeping its content and duration, while the previous clip's end and the next clip's start are trimmed to follow, so the total length does not change. Needs clips touching it on both sides with enough source media (BAD_ARGS otherwise). include_linked (default true) slides the linked audio/video clips too. Returns the clip, its two neighbours and the offset actually applied.
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": "slide_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | Yes | Seconds to move the clip; 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 slide the clips linked to this one (the audio of a video clip, or the video of an audio clip). Default true. |