modify_node
Rename a node in Nuke and optionally update expressions that reference the old name, keeping compositing scripts consistent after changes.
Instructions
Rename a node. Checks for expressions that reference this node and optionally updates them to use the new name.
Args: name: current node name. new_name: new name to set. update_expressions: auto-fix expressions referencing the old name. default True.
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": {
"name": "<name>"
},
"name": "modify_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | current node name. | |
| new_name | No | new name to set. | |
| update_expressions | No | auto-fix expressions referencing the old name. default True. |