list_layers
Lists every layer in a GIMP image with name, ID, visibility, opacity, blend mode, dimensions, and alpha status, so you can inspect layer structure before editing.
Instructions
List all layers in an image with their properties.
Parameters:
image_index: Target image index (default 0)
Returns: {layers: [{name, id, visible, opacity, blend_mode, width, height, has_alpha}], count}
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": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_index | No |