Sprite info
sprite_infoGain the full sprite state—dimensions, layers, frames, tags, slices, and selection—so edits start from accurate data instead of guesses.
Instructions
Full structured state of a sprite: dimensions, colour mode, palette, every layer (with opacity, blend mode, visibility, group nesting), every frame with its duration, animation tags, slices and the current selection. Read this before editing — guessing at layer names or frame counts is the most common way an agent corrupts someone's file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sprite | No | Sprite filename or id. Omit to use the sprite Aseprite has focused. | |
| includeSlices | No | ||
| includePalette | No | Include the full palette as hex. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | Yes | ||
| width | Yes | ||
| frames | Yes | ||
| height | Yes | ||
| layers | Yes | ||
| slices | No | ||
| palette | No | ||
| filename | No | ||
| colorMode | Yes | ||
| selection | No | ||
| frameCount | Yes | ||
| activeFrame | No | ||
| activeLayer | No | ||
| transparentIndex | No |