duplicate_sprite
Copy a complete sprite, including every layer, frame, tag, and slice, to reuse or branch artwork. In batch mode, provide a file path to duplicate sprites outside an open Aseprite window.
Instructions
Makes a copy of a whole sprite (all layers, frames, tags, slices). In batch mode 'file' is required.
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": "duplicate_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |