merge_visible_layers
Combines all visible layers of a GIMP image into a single layer, reducing layer clutter while keeping the visible result intact.
Instructions
Merge all visible layers into a single layer.
Parameters:
image_index: Target image index (default 0)
Returns: {layer_name, layer_id}
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": "merge_visible_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_index | No |