delete_layer
Removes a specific layer by its name from an Aseprite file. Use to clean up layer structure without affecting other layers.
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 |