batch_resize
Resizes every .aseprite file in a folder by scale or explicit width/height and exports the first frame to an output directory, supporting headless batch processing.
Instructions
Resize every .aseprite in folder (first frame, nearest-neighbor) and
write images to out_dir. Give either scale (multiplier) or explicit
width/height. Non-destructive; continues past per-file errors. Headless.
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": {
"folder": "<folder>"
},
"name": "batch_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| scale | No | ||
| width | No | ||
| folder | Yes | ||
| format | No | png | |
| height | No | ||
| out_dir | No | ||
| recursive | No |