commit_changes
Save pixel art edits to disk with automatic rollback backup and conflict detection; commit staged changes atomically or write the active Aseprite sprite in live mode.
Instructions
Persist changes to disk with automatic pre-save rollback backup. In Staged mode: commits staged copy atomically with external disk conflict detection. In Live mode: saves the open sprite in Aseprite to disk (accepts path or '@active').
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": {
"file": "<file>"
},
"name": "commit_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Target .aseprite file path (or '@active' in Live mode). | |
| force | No | Overwrite even if the file changed on disk since staging (still backs up first). | |
| keepSession | No | Staged mode: keep the staged session open at a clean checkpoint after committing. |