Duplicate a network
duplicate_networkCopy a node or entire COMP network to a new location, within the same or different parent, to clone a built network for reuse or experimentation.
Instructions
Copy a node or whole COMP (and all its contents) to a new node, placed in the source's parent or another parent_path. Returns the source path and the new copy's path. Use duplicate this way to clone a built network; use create_container instead when you just need a fresh empty COMP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the copy (auto-generated if omitted). | |
| parent_path | No | Where to place the copy (defaults to the source's parent). | |
| source_path | Yes | Path of the node/COMP to duplicate. |