export_spritesheet
Export Aseprite frames as a sprite sheet image with row, column, grid, or packed layouts, plus optional JSON metadata for frame rectangles, durations, and tags.
Instructions
Lay the frames out in one image with Aseprite's sprite sheet exporter.
horizontal puts all frames in one row, vertical in one column, rows and columns make a grid, packed fits frames tightly. Hidden layers are left out. data_output gets Aseprite's JSON: frames (an object keyed by frame name for "hash", a list for "array"; frame names count from 0) with each frame's rectangle and duration, and meta with the image path (relative to the JSON file), size and tags. The sprite is not changed; existing files are refused unless overwrite is true. Not available in batch.
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>",
"output": "<output>"
},
"name": "export_spritesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only this tag's frames | |
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| scale | No | Output pixels per sprite pixel (nearest) | |
| output | Yes | Sheet image: .png, .bmp, .tga or .qoi | |
| padding | No | Pixels between frames | |
| overwrite | No | Replace files that already exist | |
| sheet_type | No | Layout: one row, one column, a grid filled by rows or columns, or packed | horizontal |
| data_format | No | JSON frames as an object keyed by name, or a list | hash |
| data_output | No | JSON file describing the frames; default none |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||