Add comp to render queue
add_to_render_queueAdds an After Effects composition to the render queue, resolves the output path and module template from the file extension, and returns the queue item index for updating or starting rendering.
Instructions
Add a composition to the After Effects render queue. The outputPath extension picks a matching output-module template when none is given (.mp4 -> H.264, .mov -> High Quality (QuickTime), .avi -> Lossless, .tif -> TIFF Sequence with Alpha, .psd -> Photoshop sequence, .aif -> AIFF audio); image sequences get a _[#####] frame-number token. Returns the queue item index (use it with update_render_item / start_render) and the resolved output path. Does not start rendering.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_to_render_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| comment | No | Comment shown in the render queue. | |
| timeSpan | No | What to render: 'work_area', 'comp' (whole comp) or {start, duration|end}. Default: AE's render-settings default (work area). | |
| outputPath | No | Absolute output file path. Without it the item stays 'NEEDS_OUTPUT'. | |
| skipFrames | No | Render every (n+1)th frame (0 = all). | |
| outputModuleTemplate | No | Output module template name (see list_render_templates), e.g. 'High Quality', 'H.264 - Match Render Settings - 15 Mbps'. | |
| renderSettingsTemplate | No | Render settings template, e.g. 'Best Settings' or 'Draft Settings'. |