krita_copy_layer
Copy a paint layer to another Krita document, optionally placing it above a specific layer or in a desired folder. Use the operation ID to avoid duplicate copies and get the new node handle.
Instructions
Copy a supported paint layer into an explicit destination document. Omitted parent means document root; above_node_id selects a sibling to insert above. Returns the new node handle. No guaranteed undo transaction. Reuse operation_id to avoid duplicate copies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| above_node_id | No | ||
| parent_node_id | No | ||
| destination_document_id | Yes |