duplicate_layer
Duplicate an Aseprite layer with all its cels and place the copy on top. Useful for reusing artwork, testing edits, or creating variations without redrawing.
Instructions
Duplicate a layer (including its cels) as a new layer on top.
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": {
"filename": "<filename>",
"layer": "<layer>"
},
"name": "duplicate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| filename | Yes |