save_project
Save the active Adobe Premiere Pro project to preserve your video editing work and prevent data loss.
Instructions
Saves the currently active Adobe Premiere Pro project.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/index.ts:777-791 (handler)Handler function for the 'save_project' tool. It calls the PremiereProBridge.saveProject() method and wraps the result in a standardized response format with success/error handling.private async saveProject(): Promise<any> { try { await this.bridge.saveProject(); return { success: true, message: 'Project saved successfully', timestamp: new Date().toISOString() }; } catch (error) { return { success: false, error: `Failed to save project: ${error instanceof Error ? error.message : String(error)}` }; } }
- src/tools/index.ts:72-76 (schema)Schema definition for the save_project tool, specifying an empty input object since no parameters are required.{ name: 'save_project', description: 'Saves the currently active Adobe Premiere Pro project.', inputSchema: z.object({}) },
- src/index.ts:74-81 (registration)MCP server registration for listing available tools, which includes 'save_project' via PremiereProTools.getAvailableTools().this.server.setRequestHandler(ListToolsRequestSchema, async () => { const tools = this.tools.getAvailableTools().map((tool) => ({ name: tool.name, description: tool.description, inputSchema: zodToJsonSchema(tool.inputSchema, { $refStrategy: 'none' }) })); return { tools }; });
- src/bridge/index.ts:219-227 (handler)Bridge-level handler that executes ExtendScript to call app.project.save() in Adobe Premiere Pro.async saveProject(): Promise<void> { const script = ` // Save current project app.project.save(); JSON.stringify({ success: true }); `; await this.executeScript(script); }
- src/tools/index.ts:440-441 (registration)Dispatch/registration of save_project in the executeTool switch statement.case 'save_project': return await this.saveProject();