preview_frame
Renders one frame from any Nuke node to an image and returns it, using a temporary Write node that is removed afterward. Set max_size to scale the longest side down.
Instructions
Look at the output of any node: renders one frame to an image and returns it.
Uses a temporary Write node (removed afterwards). `max_size` is the longest-side width in pixels the image is scaled down to.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node": "<node>"
},
"name": "preview_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| node | Yes | ||
| frame | No | ||
| format | No | jpg | |
| script | No | ||
| max_size | No |