krita_create_group_layer
Create a group layer in a Krita document at a chosen parent or the root level, and get a handle for later operations. Reuse the operation ID when retrying to avoid duplicates.
Instructions
Create a group at the top of the explicit parent (document root by default). Returns its handle. Reuse operation_id on retries; no guaranteed undo grouping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| parent_node_id | No |