delete_layer
Remove an unwanted layer from a GIMP image to clean up your project or prepare it for export. Specify the image and layer IDs to delete it instantly.
Instructions
Delete a layer from an image.
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>",
"layer_id": "<layer_id>"
},
"name": "delete_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||