Duplicate a network
duplicate_networkDuplicate a node or whole COMP network (with all contents) to a new parent location. Returns the source and new copy paths for cloning built networks.
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 |
|---|---|---|---|
| source_path | Yes | Path of the node/COMP to duplicate. | |
| name | No | Name for the copy (auto-generated if omitted). | |
| parent_path | No | Where to place the copy (defaults to the source's parent). |