get_export_presets
Retrieve available export presets and their settings from Adobe Premiere Pro for configuring video output.
Instructions
Get available export presets and their settings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-server.js:750-791 (handler)The main handler function that fetches available export presets from the local HTTP API endpoint 'http://localhost:3001/api/export-presets' and formats a list of presets with their settings for display.async getExportPresets() { try { const response = await fetch('http://localhost:3001/api/export-presets'); if (!response.ok) throw new Error(`HTTP ${response.status}: ${response.statusText}`); const data = await response.json(); if (data.error) { return { content: [ { type: 'text', text: `⚠️ ${data.error}`, }, ], }; } const presetsList = data.presets.map(preset => `• **${preset.preset_name}** (${preset.format})\n 📐 ${preset.resolution.width}x${preset.resolution.height} @ ${preset.frame_rate}fps\n 📊 Video: ${preset.bitrate} | Audio: ${preset.audio_codec} @ ${preset.audio_bitrate}` ).join('\n\n'); return { content: [ { type: 'text', text: `🎥 **Export Presets**\n\n${presetsList}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get export presets**\n\nError: ${error.message}`, }, ], isError: true, }; } }
- mcp-server.js:128-136 (registration)Tool registration entry in the ListToolsRequestSchema handler, defining the tool name, description, and empty input schema.{ name: "get_export_presets", description: "Get available export presets and their settings", inputSchema: { type: "object", properties: {}, required: [] } },
- mcp-server.js:131-135 (schema)Input schema definition for the get_export_presets tool, which requires no parameters.inputSchema: { type: "object", properties: {}, required: [] }
- mcp-server.js:252-253 (helper)Dispatch case in the CallToolRequestSchema switch statement that routes calls to the getExportPresets handler method.case 'get_export_presets': return await this.getExportPresets();