select_rectangle
Creates a rectangular selection at specified coordinates and dimensions, with optional feathering and replace/add/subtract/intersect modes for precise image editing.
Instructions
Create a rectangular selection.
Parameters:
x, y: Top-left corner of the selection
width, height: Dimensions of the selection
operation: "replace" (default), "add", "subtract", "intersect"
feather: Feather radius in pixels (default 0 = no feather)
image_index: Target image index (default 0)
Returns status dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| feather | No | ||
| operation | No | replace | |
| image_index | No |