list_layers
Retrieve root layers of a GIMP image in top-to-bottom order to inspect the layer hierarchy and facilitate editing decisions.
Instructions
List root layers in top-to-bottom order.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_id": "<image_id>"
},
"name": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |