duplicate_layer_tree
Copy a complete layer hierarchy into a new parent layer in an open document, preserving item order, clipping groups, and child layer state; blocks duplicate target parents.
Instructions
Copy a complete layer hierarchy into a new parent layer in the specified open document, preserving item order, clipping groups and child layer state. Native document coordinates in points. Refuses a duplicate target parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset_x | No | ||
| offset_y | No | ||
| document_path | Yes | ||
| source_layer_paths | Yes | ||
| target_parent_name | Yes |