cut_region
Copy a selected region of pixels into a named stamp and remove it from the layer, enabling reuse of the extracted content.
Instructions
Copy a region into a named stamp and clear it from the layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Silently discard out-of-bounds pixels instead of rejecting (default false) | |
| name | Yes | ||
| frame | No | Frame index, 0-based (default: active frame) | |
| layer | No | Layer id or name (default: active layer) | |
| doc_id | Yes | Document id | |
| region | Yes | Region: exactly one of 'rect', 'pixels', or 'selection' | |
| render | No | Include a render of the change (default true) | |
| ignore_symmetry | No | Skip symmetry mirroring for this call (default false) |