Clear
aseprite_clearClear a layer's contents in the active frame, or erase only a specified rectangular area to remove unwanted pixels.
Instructions
Clears the whole layer in the frame, or only a rectangle.
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": "aseprite_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | [x, y, width, height] or "selection" (its bounding box) | |
| frame | No | Frame number, 1-based (default: active frame) | |
| layer | No | Layer name (default: active layer) |