create_node
Creates a new Nuke node in one undo step while preserving the current selection, with optional inputs, knobs, group, name, and position.
Instructions
Create a node (one undo step) without disturbing the selection. inputs = source node names by input index (null = unconnected); knobs use the same value forms as set_knobs; position = [x, y], else placed automatically.
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_class": "<node_class>"
},
"name": "create_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| group | No | root | |
| knobs | No | ||
| inputs | No | ||
| position | No | ||
| node_class | Yes |