modify_selection
Change an active selection by inverting, growing, shrinking, feathering, adding a border, or smoothing its edges, using a pixel amount for the adjustment.
Instructions
operation: invert, grow, shrink, feather, border or smooth. amount in pixels.
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": {
"operation": "<operation>"
},
"name": "modify_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| operation | Yes |