Add clips to timeline
add_clips_to_timelineAppend generated videos from a thread to its timeline, in the order given. Goes into the active cut unless cutId is given; a first cut is created if the thread has none. Only video nodes that have not failed can be added, and a video already in the cut is skipped. Returns the updated timeline.
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": {
"threadId": "<threadId>",
"nodeIds": "<nodeIds>"
},
"name": "add_clips_to_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cutId | No | Cut id from get_timeline (default: the active cut). | |
| cutName | No | Name for the new cut if one has to be created (default 'Cut 1'). | |
| nodeIds | Yes | Video node ids from this thread (see get_thread), in playback order. | |
| threadId | Yes | Thread id, from list_threads. |