batch
Run multiple single-step sprite operations in one call and return results in order. The sprite saves once at the end; if any operation fails, nothing is saved and the error names the failing step.
Instructions
Run several single-step tools on one sprite in one go and return their results in order.
The ops run in a single Aseprite process and are saved once at the end. If any op fails, nothing is saved and the error names the failing op. create_sprite and other multi-step tools are not accepted. One call takes at most 1000 ops by default.
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": {
"path": "<path>",
"ops": "<ops>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Tools to run, in order, as {tool, args} | |
| path | Yes | Sprite file. Relative paths resolve against the server root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |