Krita Set Active Layer
krita_set_active_layerSet a specific Krita layer as the active paint target by its exact name, with recursive search to find nested layers.
Instructions
Make a layer the active paint target (searched recursively by exact name).
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_set_active_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||