td_copy_node
Copy a TouchDesigner node with its parameters to a new node, either in the same parent or a specified destination.
Instructions
Copy/duplicate an existing node (with its parameters) to a new node.
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": {
"source_path": "<source_path>"
},
"name": "td_copy_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | No | Name for the copy | |
| dest_parent | No | Path of the destination parent COMP. If None, copies into the same parent. | |
| source_path | Yes | Path of the node to copy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |