set_knobs
Set knob values on one or more Nuke nodes as a single undo step. Apply numbers, per-channel lists, expressions, scripts, or keyframes and receive the new values.
Instructions
Set knobs on one or more nodes as ONE undo step. changes = {"Constant1": {"color": [0.8, 0.1, 0.02]}, "Blur1": {"size": 4}} Value forms: number/string/bool; list = per channel (fewer values than channels sets only the leading ones, e.g. RGB of an RGBA colour, alpha kept); {"expression": "...", "channel": i}; {"script": "<.nk syntax>"}; {"keys": {"1": v, "10": v}} for keyframes. Move nodes with "xpos"/"ypos". Returns the new values.
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": {
"changes": "<changes>"
},
"name": "set_knobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes |