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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc_id": "<doc_id>",
"region": "<region>",
"name": "<name>"
},
"name": "cut_region"
}
}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) |