export_spritesheet
Combine animation frames into a sprite sheet image and optionally generate a JSON metadata file.
Instructions
Export frames as a sprite sheet, optionally with a JSON data file.
Args: filename: Aseprite file to export output_filename: Output sheet image path (PNG) sheet_type: Layout: "horizontal", "vertical", "rows", "columns", or "packed" data_filename: Optional path for a JSON metadata file (json-array format) scale: Integer scale factor applied before packing (default 1) padding: Padding in pixels between frames (default 0) tag_name: Only include frames of this animation tag (default: all frames)
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": {
"filename": "<filename>",
"output_filename": "<output_filename>"
},
"name": "export_spritesheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| output_filename | Yes | ||
| sheet_type | No | horizontal | |
| data_filename | No | ||
| scale | No | ||
| padding | No | ||
| tag_name | No |