delete_layer
Delete a named layer from an Aseprite file to clean up artwork or revise layer structure before export.
Instructions
Delete a layer by name.
Args: filename: Aseprite file to modify layer_name: Name of the layer to delete
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>",
"layer_name": "<layer_name>"
},
"name": "delete_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes |