duplicate_layer
Copies a layer and all its cels, placing the duplicate directly above the original in the sprite—useful for creating variations or backups without rebuilding artwork.
Instructions
Duplicate a layer (with its cels) above the original.
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": {
"name": "<name>"
},
"name": "duplicate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| name | Yes |