Update layer
update_layerChanges layer properties like name, visibility, opacity, blend mode, locks, clipping, and mask, or reorders and activates layers to organize a painting.
Instructions
Change layer properties (name, visibility, opacity, blend mode, lock, alpha lock, clipping, mask enable), make it active, or reorder it (move up/down/top/bottom, above/below another layer, or to an index).
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": "update_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip to layer below | |
| move | No | ||
| name | No | ||
| above | No | Move directly above this layer | |
| below | No | Move directly below this layer | |
| blend | No | ||
| index | No | Move to index (0 = bottom) | |
| layer | No | Layer id, name, or index (0 = bottom, -1 = top). Default: the active layer. | |
| locked | No | ||
| opacity | No | 0..1 | |
| visible | No | ||
| activate | No | Make this the active layer | |
| alphaLock | No | ||
| maskEnabled | No |