save_project_as
Save your Adobe Premiere Pro project with a new name and location to organize or back up your work efficiently.
Instructions
Saves the current project with a new name and location.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | The absolute directory path where the project should be saved | |
| name | Yes | The new name for the project |
Implementation Reference
- src/tools/index.ts:793-814 (handler)The main handler function for the 'save_project_as' tool. It constructs an ExtendScript that calls app.project.saveAs(newPath) with the provided name and location, executes it via the bridge, and returns the result.private async saveProjectAs(name: string, location: string): Promise<any> { const script = ` try { var project = app.project; var newPath = "${location}/${name}.prproj"; project.saveAs(newPath); JSON.stringify({ success: true, message: "Project saved as: " + newPath, newPath: newPath }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
- src/tools/index.ts:78-84 (schema)Zod input schema definition for the 'save_project_as' tool, specifying required 'name' and 'location' string parameters.name: 'save_project_as', description: 'Saves the current project with a new name and location.', inputSchema: z.object({ name: z.string().describe('The new name for the project'), location: z.string().describe('The absolute directory path where the project should be saved') }) },
- src/tools/index.ts:442-444 (registration)Dispatch/registration in the executeTool switch statement that routes calls to the saveProjectAs handler.case 'save_project_as': return await this.saveProjectAs(args.name, args.location);
- src/tools/index.ts:78-84 (registration)Tool definition and registration in the getAvailableTools() method's return array, making it discoverable by MCP clients.name: 'save_project_as', description: 'Saves the current project with a new name and location.', inputSchema: z.object({ name: z.string().describe('The new name for the project'), location: z.string().describe('The absolute directory path where the project should be saved') }) },