Read the timeline
get_sequence_structureRead a full Premiere Pro timeline structure, including sequence details, tracks, and ordered clips, to inspect or audit an edit. Filter by video or audio and limit clips as needed.
Instructions
Read a whole timeline: the sequence description plus every track (index, name, locked, muted, targeted, clip and transition counts) with its clips in order. This is the main tool for reading a timeline. Each clip has clip_id, name, start / end / duration on the timeline and in_point / out_point in the source (all in seconds), media_type, disabled, selected, speed, reversed and the source item_id. Restrict with track_type, skip empty tracks with include_empty_tracks=false, and cap the size with max_clips (truncated=true when clips were left out). For totals only use get_sequence_summary; for one track use list_track_clips.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sequence_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_clips | No | Maximum clips described over the whole sequence (video tracks first, then audio), 0-100000. Default 2000. 0 returns the tracks without clips. | |
| track_type | No | Only return "video" or "audio" tracks. Omit for both. | |
| 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. | |
| include_empty_tracks | No | Include tracks that have no clips. Default true. |