open_sprite
Opens a sprite file as the active Aseprite document and returns its filename, size, frame and layer counts; in headless mode, verify Aseprite can read it before editing.
Instructions
Open a sprite file and make it the active document; returns its
filename, size, and frame/layer counts. Live: opens a new tab in the
editor and makes it the sprite Claude works on. Headless: each call is a fresh process, so this is a
"can Aseprite read this file" probe returning the file's info — to
edit a file headless, pass it as the file argument of the editing
tools instead.
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": {
"path": "<path>"
},
"name": "open_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |