restore_checkpoint
Roll an Aseprite file back to a chosen checkpoint, optionally saving the current state first so the rollback can be undone.
Instructions
Roll the sprite back to a checkpoint.
Args: filename: Aseprite file checkpoint: "last", a number from list_checkpoints, "-2" for the one before the last, or a label keep_current: First save the current state as a checkpoint too, so the restore itself can be undone (default True)
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": "restore_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| checkpoint | No | last | |
| keep_current | No |