Krita Remove Layer
krita_remove_layerDelete a specified layer from a Krita document, with a safeguard that refuses to remove the only top-level layer.
Instructions
Delete a layer (refuses to delete the only top-level layer).
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": {
"name": "<name>"
},
"name": "krita_remove_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||