remove_slice
Remove a named slice from an Aseprite sprite file, specifying the file path and slice name to delete.
Instructions
Remove a slice by name
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": {
"filePath": "<filePath>",
"sliceName": "<sliceName>"
},
"name": "remove_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| sliceName | Yes | Name of the slice to remove | |
| savePath | No | Path to save |