Preview a frame (image)
preview_frameRender one composition frame as an image to visually verify changes after edits, with optional size limits, background choice, and saved PNG output.
Instructions
Render ONE frame of a composition and return it as an IMAGE so you can see the result of your changes. Use it after every visual change. The frame is downscaled so its longest side is at most maxSize px (default 1024; 0 = full size) and drawn over the comp's background color (default) instead of transparency. Also returns width/height/time as text. Rendering uses a temporary comp that is removed again (one undo step).
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": "preview_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| path | No | Optional absolute .png path to keep the frame (default: a temp previews folder). | |
| time | No | Frame time (seconds, '12f' or timecode). Default: the comp's current time. | |
| maxSize | No | Longest side in px (default 1024). 0 = full comp resolution. | |
| background | No | 'comp' (comp background color, default), 'transparent', or a color '#RRGGBB'. |