Skip to main content
Glama

create_sequence

Generates a new timeline in Adobe Premiere Pro with custom settings like name, resolution, frame rate, and audio sample rate for video editing.

Instructions

Creates a new sequence in the project. A sequence is a timeline where you edit clips.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameRateNoFrame rate (e.g., 24, 25, 30, 60)
heightNoSequence height in pixels
nameYesThe name for the new sequence
presetPathNoOptional path to a sequence preset file for custom settings
sampleRateNoAudio sample rate (e.g., 48000)
widthNoSequence width in pixels

Implementation Reference

  • Tool registration in getAvailableTools(): includes name, description, and input schema for create_sequence.
    { name: 'create_sequence', description: 'Creates a new sequence in the project. A sequence is a timeline where you edit clips.', inputSchema: z.object({ name: z.string().describe('The name for the new sequence'), presetPath: z.string().optional().describe('Optional path to a sequence preset file for custom settings'), width: z.number().optional().describe('Sequence width in pixels'), height: z.number().optional().describe('Sequence height in pixels'), frameRate: z.number().optional().describe('Frame rate (e.g., 24, 25, 30, 60)'), sampleRate: z.number().optional().describe('Audio sample rate (e.g., 48000)') }) },
  • Zod input schema for validating arguments to create_sequence tool.
    inputSchema: z.object({ name: z.string().describe('The name for the new sequence'), presetPath: z.string().optional().describe('Optional path to a sequence preset file for custom settings'), width: z.number().optional().describe('Sequence width in pixels'), height: z.number().optional().describe('Sequence height in pixels'), frameRate: z.number().optional().describe('Frame rate (e.g., 24, 25, 30, 60)'), sampleRate: z.number().optional().describe('Audio sample rate (e.g., 48000)') })
  • Main handler function for create_sequence tool: wraps bridge call with success/error response formatting.
    private async createSequence(name: string, presetPath?: string, _width?: number, _height?: number, _frameRate?: number, _sampleRate?: number): Promise<any> { try { const result = await this.bridge.createSequence(name, presetPath); return { success: true, message: `Sequence "${name}" created successfully`, sequenceName: name, ...result }; } catch (error) { return { success: false, error: `Failed to create sequence: ${error instanceof Error ? error.message : String(error)}`, sequenceName: name }; } }
  • Bridge-level handler: executes ExtendScript to call Premiere Pro API app.project.createNewSequence.
    async createSequence(name: string, presetPath?: string): Promise<PremiereProSequence> { const script = ` // Create new sequence var sequence = app.project.createNewSequence("${name}", "${presetPath || ''}"); // Return sequence info JSON.stringify({ id: sequence.sequenceID, name: sequence.name, duration: sequence.end - sequence.zeroPoint, frameRate: sequence.framerate, videoTracks: [], audioTracks: [] }); `; return await this.executeScript(script); }
  • Dispatch/registration in executeTool switch statement that routes to the handler.
    case 'create_sequence': return await this.createSequence(args.name, args.presetPath, args.width, args.height, args.frameRate, args.sampleRate);

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