delete_frame
Removes a specified animation frame from an Aseprite sprite while ensuring at least one frame remains. Use to trim unwanted frames without emptying the animation.
Instructions
Delete one animation frame while keeping at least one frame in the sprite.
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>",
"frame_index": "<frame_index>"
},
"name": "delete_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| frame_index | Yes |