set_material_property
Set a property such as color or transparency on a Maya material by specifying the material name, attribute, and value; pass RGB values in the 0–1 range for colors.
Instructions
Set a property on a Maya material. For colors pass [r,g,b] (0-1 range). Examples: attribute='color' value=[1,0,0] for red, attribute='transparency' value=[0.5,0.5,0.5].
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": {
"material_name": "<material_name>",
"attribute": "<attribute>",
"value": "<value>"
},
"name": "set_material_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| attribute | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |