save_sprite
Save an Aseprite sprite to disk, either overwriting or saving a copy without changing the sprite's current file name. The extension sets the format; single-image formats write one file per frame.
Instructions
Saves a sprite (Save / Save As), or with copy=true saves a copy without changing the sprite's file name. The extension picks the format. Single-image formats get one file per frame (name1.png, name2.png...); the result lists the files written.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | ||
| file | No | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |