armorpaint_set_layer
Set layer properties such as opacity, visibility, blend mode, scale, angle, and object mask to control painting across all objects or a single one.
Instructions
Edit a layer. object_mask=0 affects all objects; index+1 restricts it to one object. Opacity ranges from zero to one.
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_id": "<layer_id>"
},
"name": "armorpaint_set_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| angle | No | ||
| blend | No | ||
| scale | No | ||
| opacity | No | ||
| uv_type | No | ||
| visible | No | ||
| layer_id | Yes | ||
| object_mask | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||