setup_write
Creates a Nuke Write node connected to an input node with production defaults, validating file type and output path for safe renders.
Instructions
Create a Write node connected to input_node with production defaults.
A3: typed dispatch -- the addon validates file_type against
the allowlist (exr/tiff/png/jpeg/mov/dpx) and rejects any path
with a .. traversal component.
Args: input_node: node to connect as input. path: output file path (use #### for frame padding). file_type: exr, tiff, png, jpeg, mov, or dpx. colorspace: output colorspace.
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": {
"input_node": "<input_node>",
"path": "<path>"
},
"name": "setup_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | output file path (use #### for frame padding). | |
| file_type | No | exr, tiff, png, jpeg, mov, or dpx. | exr |
| colorspace | No | output colorspace. | scene_linear |
| input_node | Yes | node to connect as input. |