Krita Set Layer Props
krita_set_layer_propsAdjust Krita layer properties by changing visibility, lock state, opacity, blending mode, or name—only the specified fields update.
Instructions
Change layer visibility/lock/opacity/blending mode/name. Only the provided fields are touched.
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_layer_props"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| locked | No | ||
| opacity | No | ||
| visible | No | ||
| new_name | No | ||
| blending_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||