Skip to main content
Glama

delete_sequence

Remove a specific sequence from an Adobe Premiere Pro project by providing its sequence ID using the MCP Adobe Premiere Pro automation tool.

Instructions

Deletes a sequence from the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sequenceIdYesThe ID of the sequence to delete

Implementation Reference

  • Tool registration in getAvailableTools(): includes 'delete_sequence' with description and Zod input schema.
    { name: 'delete_sequence', description: 'Deletes a sequence from the project.', inputSchema: z.object({ sequenceId: z.string().describe('The ID of the sequence to delete') }) },
  • Dispatch/registration in executeTool switch statement: calls this.deleteSequence for 'delete_sequence' tool.
    case 'delete_sequence': return await this.deleteSequence(args.sequenceId);
  • Handler implementation: Executes ExtendScript via bridge to find sequence by ID and call app.project.deleteSequence(sequence).
    private async deleteSequence(sequenceId: string): Promise<any> { const script = ` try { var sequence = app.project.getSequenceByID("${sequenceId}"); if (!sequence) { JSON.stringify({ success: false, error: "Sequence not found" }); return; } var sequenceName = sequence.name; app.project.deleteSequence(sequence); JSON.stringify({ success: true, message: "Sequence deleted successfully", deletedSequenceId: "${sequenceId}", deletedSequenceName: sequenceName }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
  • Input schema definition: requires sequenceId as string.
    inputSchema: z.object({ sequenceId: z.string().describe('The ID of the sequence to delete') })

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