get_render_queue
Check current render queue status and items in Adobe Premiere Pro projects to monitor export progress and manage video processing tasks.
Instructions
Get current render queue status and items
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-server.js:793-852 (handler)The handler function that fetches the current render queue status from the Premiere Pro HTTP API endpoint, processes the data to format queue items with status emojis, progress, and estimated time, handles empty queue and errors, and returns a structured MCP response.async getRenderQueue() { try { const response = await fetch('http://localhost:3001/api/render-queue'); 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}`, }, ], }; } if (data.total_queue_items === 0) { return { content: [ { type: 'text', text: `🎬 **Render Queue**\n\nNo items in render queue.`, }, ], }; } const queueList = data.queue_items.map(item => { const statusEmoji = { 'queued': '⏳', 'rendering': '🔄', 'complete': '✅', 'error': '❌' }[item.status] || '❓'; return `${statusEmoji} **${item.sequence_name}**\n 📁 ${item.output_path}\n ⚙️ ${item.preset} | Progress: ${item.progress_percentage}%\n ⏱️ ETA: ${item.estimated_time_remaining}`; }).join('\n\n'); return { content: [ { type: 'text', text: `🎬 **Render Queue (${data.total_queue_items} items)**\n\n${queueList}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get render queue**\n\nError: ${error.message}`, }, ], isError: true, }; } }
- mcp-server.js:140-143 (schema)The input schema for the get_render_queue tool, defining it as an object with no properties or required parameters.inputSchema: { type: "object", properties: {}, required: []
- mcp-server.js:137-145 (registration)Registration of the get_render_queue tool in the ListToolsRequestSchema response, including name, description, and input schema.{ name: "get_render_queue", description: "Get current render queue status and items", inputSchema: { type: "object", properties: {}, required: [] } },
- mcp-server.js:255-256 (registration)Registration/dispatch logic in the CallToolRequestSchema handler's switch statement that routes calls to the getRenderQueue handler.case 'get_render_queue': return await this.getRenderQueue();