export_spritesheet
Export frames from an Aseprite file as a sprite sheet image, with optional JSON metadata. Supports various layouts, scaling, padding, and animation tag filtering.
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 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) data_format: JSON format for the data file: "json-array" (default) or "json-hash" list_tags: Include animation tag metadata in the JSON data file (default: False)
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 |
|---|---|---|---|
| scale | No | ||
| padding | No | ||
| filename | Yes | ||
| tag_name | No | ||
| list_tags | No | ||
| sheet_type | No | horizontal | |
| data_format | No | json-array | |
| data_filename | No | ||
| output_filename | Yes |