set_material_color
Create or set a simple color material on an object using RGB or RGBA values in 0-1 range.
Instructions
Set or create a simple color material on an object. color: [R,G,B] or [R,G,B,A] (0-1 range).
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": {
"object_name": "<object_name>",
"color": "<color>"
},
"name": "set_material_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| object_name | Yes | ||
| material_name | No |