set_fabric_color
Sets the PBR base color of a selected fabric using RGB values; optionally target front, back, or side faces for separate coloring.
Instructions
Set the PBR base color of a fabric.
Args: fabric_index: Zero-based index of the fabric. r: Red channel (0-255). g: Green channel (0-255). b: Blue channel (0-255). face: "front", "back" or "side". The back and side only show their own colour once set_fabric_faces has separated them from the front.
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": {
"fabric_index": "<fabric_index>"
},
"name": "set_fabric_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | No | ||
| g | No | ||
| r | No | ||
| face | No | front | |
| fabric_index | Yes |