Duplicate layer
duplicate_layerCreate a copy of a layer, place it above the original, and set the copy as the active layer.
Instructions
Duplicate a layer (placed above it, becomes active).
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_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| layer | No | Layer id, name, or index (0 = bottom, -1 = top). Default: the active layer. |