clear_layer
Erase a target layer or frame cel in an Aseprite sprite, setting its pixels to full transparency.
Instructions
Erase the target layer/frame cel to full transparency.
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": {
"filename": "<filename>"
},
"name": "clear_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Default: 1. | |
| layer | No | ||
| filename | Yes |