Skip to main content
Glama

save_project_as

Save the current Adobe Premiere Pro project with a new name and location to create backups or versions.

Instructions

Saves the current project with a new name and location.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe new name for the project
locationYesThe absolute directory path where the project should be saved

Implementation Reference

  • The handler function that implements the core logic of the 'save_project_as' tool. It generates an ExtendScript snippet to invoke Premiere Pro's `app.project.saveAs(newPath)` method with the user-provided name and location, then executes it via the bridge.
    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); }
  • Input schema for the 'save_project_as' tool using Zod, defining required string parameters 'name' and 'location'.
    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') }) },
  • Registration in the executeTool switch statement that routes calls to the 'save_project_as' handler.
    return await this.saveProjectAs(args.name, args.location);
  • TypeScript declaration of the saveProjectAs method in the built distribution.
    private saveProjectAs;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hetpatel-11/Adobe_Premiere_Pro_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server