compare_versions
Compare a sprite with a checkpoint or another file to highlight every changed pixel, helping you decide whether to keep the edit or restore the checkpoint.
Instructions
Before/after: a checkpoint (or another file) next to the current sprite, plus a diff panel with every changed pixel highlighted.
Use it to decide whether a pass made things better, then keep it or restore_checkpoint.
Args: filename: Current Aseprite file checkpoint: Checkpoint to compare with ("last", a number, "-2", a label) frame_index: Frame to compare other_file: Compare with this file instead of a checkpoint output_filename: Optional PNG path
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>"
},
"name": "compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| checkpoint | No | last | |
| other_file | No | ||
| frame_index | No | ||
| output_filename | No |