material_instance_set_params
Update an existing material instance by setting scalar, vector, or texture parameter overrides, then save the changes.
Instructions
Set scalar/vector/texture parameters on an existing material instance, then save.
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_instance": "<material_instance>"
},
"name": "material_instance_set_params"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scalar_params | No | Scalar parameter overrides: {ParamName: value}. | |
| vector_params | No | Vector parameter overrides: {ParamName: [r, g, b, a?]}. | |
| texture_params | No | Texture parameter overrides: {ParamName: texture asset path}. | |
| material_instance | Yes | MaterialInstanceConstant asset path. |