set_layer
Adjust a layer's name, visibility, lock, opacity, clipping mask, and blend mode in pedit to control how it appears and composites with layers below.
Instructions
Layer name, visibility, lock, opacity 0..1, clip (clipping mask onto the layer below), blend mode: normal, dissolve, darken, multiply, color_burn, linear_burn, darker_color, lighten, screen, color_dodge, add (linear dodge), lighter_color, overlay, soft_light, hard_light, vivid_light, linear_light, pin_light, hard_mix, difference, exclusion, subtract, divide, hue, saturation, color, luminosity; groups also pass_through.
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": {
"layer": "<layer>"
},
"name": "set_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | ||
| name | No | ||
| blend | No | ||
| layer | Yes | ||
| locked | No | ||
| opacity | No | ||
| project | No | ||
| visible | No |