Set Material Color
shading.set_material_colorSet a color attribute on a material node by specifying RGB values and the attribute name (e.g., color, baseColor, transparency).
Instructions
Set a color attribute on a material (e.g., color, baseColor, transparency).
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": {
"color": "<color>",
"material": "<material>"
},
"name": "shading.set_material_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | [r, g, b] color values (0-1 range) | |
| material | Yes | Name of the material node | |
| attribute | No | Color attribute name (e.g., 'color', 'baseColor', 'transparency', 'incandescence') | color |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| errors | Yes | ||
| material | Yes | ||
| attribute | Yes |