Set sequence
timeline.set_sequenceChange resolution, frame rate or audio format. Clip times are kept in time, so they survive a rate change. Each picture is refitted to the new shape by its fit (contain by default, which leaves bars where the shapes differ); the result warns how many clips no longer fill the frame, and clip.set_transform {fit: "cover"} fills it. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.
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": {
"sequence": "<sequence>",
"timeline_id": "<timeline_id>"
},
"name": "timeline.set_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | inline: image in the result; link: URI that renders on read; none | link |
| sequence | Yes | ||
| timeline_id | Yes | Timeline handle; every edit returns a new one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | The version this edit started from | |
| changed | Yes | What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive) | |
| clip_id | No | The clip this edit made or acted on (each tool says which) | |
| preview | Yes | ||
| clip_ids | No | Every clip this edit made or acted on, linked ones included (each tool says which) | |
| track_id | No | ||
| warnings | Yes | ||
| timeline_id | Yes | The new version: edit this one next (older ids stay valid) |