flatten_image
Merge all layers into one background layer to simplify image export or editing. Set the target image index to choose which GIMP image to process.
Instructions
Flatten all layers into a single background layer.
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": "flatten_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_index | No |