Add several clips back to back
add_clips_sequentiallyPlace multiple project items back-to-back on a Premiere Pro timeline in one call, using overwrite or insert mode, to assemble a rough cut or slideshow.
Instructions
Place several project items one after another starting at a time (default: the later of the ends of the two target tracks), each clip starting where the previous one ended. Picture goes to video_track_index, audio (linked to its picture) to audio_track_index. mode "overwrite" (default) replaces what is in the way on the target tracks; mode "insert" pushes later material right on all tracks. Use it to assemble a rough cut or a slideshow in one call. Returns the created clips in order (each with the index of its item as order), the time where the next clip would start and the sequence duration.
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": {
"item_ids": "<item_ids>"
},
"name": "add_clips_sequentially"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "overwrite" (default) or "insert". | |
| item_ids | Yes | Project item ids in playback order. An id may repeat. | |
| start_time | No | Timeline start of the first clip, in seconds. Default: the later of the ends of the two target tracks. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| still_duration | No | Length given to each still image, in seconds. Default: Premiere's default still duration. Ignored for video and audio items. | |
| audio_track_index | No | 0-based audio track that receives the item's audio (0 = A1). Default 0. | |
| video_track_index | No | 0-based video track that receives the picture (0 = V1). Default 0. |