Clear layer
clear_layerErase a layer completely, or only within the active selection, to remove unwanted content before repainting or resetting that layer.
Instructions
Erase a layer completely (or just inside the selection).
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": "clear_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer id, name, or index (0 = bottom, -1 = top). Default: the active layer. | |
| target | No |