split_sheet
Split a grid-based character sheet into individual pixel-art pose sprites at one scale and shared palette, then tag each sprite for selection. Use it to keep animation poses consistent.
Instructions
Cut a character sheet (poses in a columns x rows grid) into one
pixel-art sprite per pose, all at the same scale and on ONE shared palette of
colors colours (or palette), so the poses stay consistent with each
other. Each cell is shrunk to width x height (the cell's aspect by
default), its background cleared and the bits of neighbouring poses dropped.
Each sprite gets a tag named from names (row by row; "pose_1"... by
default), so pin_sprite(tag=...) can pick it. Live: opens the sprites in
the editor. Headless: writes <out_dir>/<name>.aseprite.
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": {
"image_path": "<image_path>",
"columns": "<columns>",
"rows": "<rows>",
"width": "<width>"
},
"name": "split_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| names | No | ||
| width | Yes | ||
| colors | No | ||
| dither | No | none | |
| height | No | ||
| columns | Yes | ||
| out_dir | No | ||
| palette | No | ||
| image_path | Yes | ||
| layer_name | No | Art | |
| clear_edges | No | ||
| remove_background | No |