selection_set
Define or alter selections in GIMP with geometric shapes and operations like add, subtract, or intersect to isolate areas for editing.
Instructions
Create/combine geometry selections or modify the current selection. Polygon points are a flat x/y list.
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": {
"session_id": "<session_id>",
"action": "<action>"
},
"name": "selection_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| dx | No | ||
| dy | No | ||
| steps | No | ||
| width | No | ||
| action | Yes | ||
| height | No | ||
| points | No | ||
| radius | No | ||
| operation | No | replace | |
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||