list_sequences
Retrieve all sequences in a Premiere Pro project, including IDs, names, and basic properties, to streamline project organization and editing workflows using the MCP Adobe Premiere Pro automation server.
Instructions
Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/index.ts:592-625 (handler)Handler function that executes an ExtendScript via the PremiereProBridge to list all sequences in the current project, returning their IDs, names, durations, dimensions, frame rates, and track counts.private async listSequences(): Promise<any> { const script = ` try { var sequences = []; for (var i = 0; i < app.project.sequences.numSequences; i++) { var seq = app.project.sequences[i]; sequences.push({ id: seq.sequenceID, name: seq.name, duration: seq.duration.seconds, width: seq.frameBounds.width, height: seq.frameBounds.height, frameRate: seq.frameRate, videoTrackCount: seq.videoTracks.numTracks, audioTrackCount: seq.audioTracks.numTracks }); } JSON.stringify({ success: true, sequences: sequences, count: sequences.length }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
- src/tools/index.ts:38-41 (schema)Input schema definition for the list_sequences tool: no parameters required (empty object).{ name: 'list_sequences', description: 'Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.', inputSchema: z.object({})
- src/tools/index.ts:428-429 (registration)Registration/dispatch in the executeTool switch statement that calls the listSequences handler.case 'list_sequences': return await this.listSequences();