batch_ops
Execute multiple Aseprite operations atomically in a single invocation and undo step so you can draw sprites, add layers/frames/tags, and preview results in one call.
Instructions
Run multiple Aseprite operations atomically in a single Aseprite invocation and single undoable journal step. Ideal for drawing sprites, adding layers/frames/tags, and previewing in one call.
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>",
"ops": "<ops>"
},
"name": "batch_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Ordered list of operations to run atomically. | |
| file | Yes | Target .aseprite file path. | |
| label | No | Short description for the journal entry. | |
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). | |
| autoCommit | No | Commit immediately to disk after succeeding. |