Reorder timeline elements
reorder_timelineReorder video clip elements in a track to match a desired sequence, automatically recomputing start times for back-to-back playback. Optionally add gaps between clips.
Instructions
Rearrange a track's elements (defaults to the video/clip track) into the given order and recompute sequential startTimes so they play back-to-back. Pass element ids in the desired order; omitted elements keep their relative order and are appended after. Ids come from get_project. Blocked in read-only mode.
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": {
"projectId": "<projectId>",
"order": "<order>"
},
"name": "reorder_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Seconds of gap to insert between elements. Default 0. | |
| order | Yes | Element ids in the desired playback order. | |
| trackId | No | Track to reorder. Defaults to the video track. | |
| projectId | Yes |