armorpaint_clear_layer
Clear a paint layer by replacing its pixels with a uniform color and packed PBR values for metallic, occlusion, and roughness. Use to reset layer content.
Instructions
Replace a paint layer's pixels with uniform color and packed PBR values. RGBA components range 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_clear_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| layer_id | Yes | ||
| metallic | No | ||
| occlusion | No | ||
| roughness | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||