Add layer
add_layerCreate a new active layer in the painting, with optional name, fill, blend mode, opacity, and placement above or below an existing layer.
Instructions
Add a new layer (becomes active by default).
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": "add_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip to the layer below (clipping mask) | |
| fill | No | Fill the new layer with a color/gradient/pattern | |
| name | No | ||
| above | No | Insert directly above this layer | |
| below | No | Insert directly below this layer | |
| blend | No | Layer blend mode | |
| opacity | No | ||
| activate | No | default true | |
| position | No | default above_active | |
| alphaLock | No | Preserve transparency: paint only where pixels exist |