connect_nodes
Link two Nuke nodes by wiring a source output to a target input, with sensible input-index defaults for Merge nodes.
Instructions
Connect two nodes. For Merge nodes, defaults to B pipe (input 1).
Args: from_node: source node (output). to_node: target node (input). input_index: which input on the target. defaults to 0, or 1 for Merge nodes.
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": {
"from_node": "<from_node>",
"to_node": "<to_node>"
},
"name": "connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_node | Yes | target node (input). | |
| from_node | Yes | source node (output). | |
| input_index | No | which input on the target. defaults to 0, or 1 for Merge nodes. |