krita_modify_selection
Refine an existing selection by inverting, growing, shrinking, or feathering it with a pixel radius, clipped to the canvas.
Instructions
Refine an existing selection and clip the result to the canvas. Grow/shrink/feather require radius in pixels; invert forbids radius. Reuse operation_id; no guaranteed undo transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| radius | No | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |