invert_colors
Invert all colors in a target GIMP layer to create a negative, optionally specifying the image index and layer name.
Instructions
Invert all colors in a layer (create a negative).
Parameters:
image_index: Target image index (default 0)
layer_name: Layer to invert; defaults to active layer
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_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_name | No | ||
| image_index | No |