import_sprite_sheet
Open an image and slice it into animation frames by frame width and height; optionally save the result.
Instructions
Opens an image and slices it into frames (File > Import Sprite Sheet). Optionally saves the result.
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": {
"file": "<file>",
"frameWidth": "<frameWidth>",
"frameHeight": "<frameHeight>"
},
"name": "import_sprite_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| file | Yes | ||
| type | No | ||
| saveAs | No | Save the imported sprite here (needed in batch mode) | |
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| padding | No | ||
| frameWidth | Yes | ||
| frameHeight | Yes | ||
| partialTiles | No |