Skip to main content
Glama

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
NameRequiredDescriptionDefault
locationYesThe absolute directory path where the project should be saved
nameYesThe new name for the project

Implementation Reference

  • 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); }
  • 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') }) },
  • 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);
  • 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') }) },

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