duplicate_layer
Copy a layer and its cels across all frames in an Aseprite file. Provide the layer name and an optional new name to duplicate it while keeping the original intact.
Instructions
Duplicate a layer and its cels across all frames.
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_name": "<layer_name>"
},
"name": "duplicate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| filename | Yes | ||
| new_name | No | ||
| layer_name | Yes |