export_sprite
Export active Aseprite sprites to PNG, GIF, or other extension-based formats, splitting multi-frame sprites into numbered images or an animated GIF. Returns written files without modifying the sprite.
Instructions
Export the active sprite to a file; format is chosen by out_path
extension (.png, .gif, ...). A multi-frame sprite saved to a single-image
format is split into <name>1.ext, <name>2.ext, ...; a multi-frame
sprite saved to .gif becomes one animated GIF (all frames, honoring
per-frame durations). The returned files lists what was actually
written. Does not modify the sprite. Headless: pass file.
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": {
"out_path": "<out_path>"
},
"name": "export_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| out_path | Yes |