list_all_sequences
Retrieve all sequences in your Adobe Premiere Pro project with basic information for project management and workflow automation.
Instructions
List all sequences in the current project with basic info
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-server.js:389-430 (handler)Main execution logic for list_all_sequences tool: fetches sequence data from HTTP API and returns formatted list.async listAllSequences() { try { const response = await fetch('http://localhost:3001/api/sequences'); if (!response.ok) throw new Error(`HTTP ${response.status}: ${response.statusText}`); const data = await response.json(); if (data.error) { return { content: [ { type: 'text', text: `⚠️ ${data.error}`, }, ], }; } const sequenceList = data.sequences.map(seq => `• **${seq.name}** (${seq.duration}) - ${seq.resolution} @ ${seq.frame_rate}fps - ${seq.clip_count} clips ${seq.is_active ? '✅ ACTIVE' : ''}` ).join('\n'); return { content: [ { type: 'text', text: `🎬 **All Sequences (${data.total_sequences})**\n\n${sequenceList}\n\n**Active Sequence:** ${data.active_sequence}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to list sequences**\n\nError: ${error.message}`, }, ], isError: true, }; } }
- mcp-server.js:51-59 (schema)Tool schema definition including name, description, and empty input schema, used in ListTools response.{ name: "list_all_sequences", description: "List all sequences in the current project with basic info", inputSchema: { type: "object", properties: {}, required: [] } },
- mcp-server.js:228-229 (registration)Registration in the tool dispatch switch statement within CallToolRequestSchema handler.case 'list_all_sequences': return await this.listAllSequences();