clear_layer
Removes all pixels from a target 2D layer, resetting it to empty so you can redraw or start a layer over without deleting the layer itself.
Instructions
Clear all pixels on the target 2D layer.
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 |
|---|---|---|---|
| layerIndex | No |