remove_frame
Delete a specific frame from an Aseprite sprite using its 1-based index. Out-of-range values are rejected, ensuring the correct frame is removed.
Instructions
Delete a frame (1-based). The sprite must have more than one frame.
`frame` must already exist: an out-of-range number is rejected with the sprite's
valid range rather than clamped to it (which used to delete a different frame).
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": "<frame>"
},
"name": "remove_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| filename | Yes |