modify_selection
Adjust the current selection by growing, shrinking, feathering, adding a border, or sharpening its edges for precise image editing.
Instructions
Grow, shrink, feather, border, or sharpen the current selection.
Parameters:
operation: "grow", "shrink", "feather", "border", "sharpen"
amount: Pixel radius for grow/shrink/feather/border; ignored for sharpen
image_index: Target image index (default 0)
Returns status dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| operation | Yes | ||
| image_index | No |