invert_selection
Inverts the current selection in GIMP so you can edit the area not currently selected. Use it to switch selection focus without manually reselecting regions.
Instructions
Invert the current selection (select what is not selected).
Parameters:
image_index: Target image index (default 0)
Returns status dict.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invert_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_index | No |