aseprite_frames_from_grids
Create multi-frame animations by providing one character grid per frame; each grid is written into its own frame on a single layer.
Instructions
Draw a whole animation in one call: pass one character grid per frame and the tool writes each grid into its own frame. This is the fastest, most token-efficient way to produce a multi-frame animation. Grids are applied on a single layer; use x/y to offset them.
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": {
"grids": "<grids>"
},
"name": "aseprite_frames_from_grids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left edge for every grid (default 0). | |
| y | No | Top edge for every grid (default 0). | |
| key | No | Character-to-colour map. "." means transparent. | |
| grids | Yes | One grid (array of character rows) per frame. | |
| layer | No | Target layer (all frames are drawn on it). | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. |