get_project_info
Retrieve current Adobe Premiere Pro project details including name, path, settings, and status to manage video editing workflows.
Instructions
Gets comprehensive information about the current project including name, path, settings, and status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/index.ts:51-54 (registration)Registration of the 'get_project_info' tool in the getAvailableTools() array, including its name, description, and input schema.name: 'get_project_info', description: 'Gets comprehensive information about the current project including name, path, settings, and status.', inputSchema: z.object({}) },
- src/tools/index.ts:53-54 (schema)Input schema for get_project_info tool: empty object (no parameters required).inputSchema: z.object({}) },
- src/tools/index.ts:714-740 (handler)Handler function that executes ExtendScript to fetch current Premiere Pro project details like name, path, active sequence, item/sequence counts, and dirty status.private async getProjectInfo(): Promise<any> { const script = ` try { var project = app.project; JSON.stringify({ success: true, name: project.name, path: project.path, activeSequence: project.activeSequence ? { id: project.activeSequence.sequenceID, name: project.activeSequence.name } : null, itemCount: project.rootItem.children.numItems, sequenceCount: project.sequences.numSequences, isDirty: project.dirty, hasActiveSequence: project.activeSequence !== null }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
- src/tools/index.ts:432-434 (registration)Dispatch/execution case in executeTool switch statement that calls the getProjectInfo handler.case 'get_project_info': return await this.getProjectInfo();