Krita Create Layer
krita_create_layerCreate a paint or group layer in Krita, stacking it above an existing layer, with optional opacity and blending mode. The new layer becomes active.
Instructions
Create a paint or group layer. above = existing layer name to stack it over (default: top). The new layer 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_create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | paintlayer | |
| above | No | ||
| opacity | No | ||
| blending_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||