save_copy
Write a sprite copy to a new file while leaving the original untouched; the output format follows the file extension, and multi-frame sprites require .aseprite or .gif.
Instructions
Write a copy of the sprite to another file, leaving the source untouched.
The format follows the output extension (.aseprite, .png, .gif, ...); a multi-frame sprite needs .aseprite or .gif. The output folder must exist.
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>",
"output": "<output>"
},
"name": "save_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Sprite file. Relative paths resolve against the server root. | |
| output | Yes | File to write; relative paths resolve against the root | |
| overwrite | No | Replace the file if it already exists |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||