Krita Duplicate Layer
krita_duplicate_layerDuplicates any layer with its full pixel content, placing the clone directly above the source and making it active for immediate editing.
Instructions
Duplicate a layer with its full pixel content; the clone lands directly above the source and becomes active.
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": "krita_duplicate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| new_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||