delete_slice
Remove a slice from an Aseprite sprite by name or index, optionally writing changes back to the file in live or batch mode.
Instructions
Deletes a slice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| slice | Yes | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |