set_mi_parameter
Override scalar, vector, or texture parameters on a material instance by providing the asset path, parameter name, type, and value.
Instructions
Override a scalar/vector/texture parameter on a UMaterialInstanceConstant. Type discriminator: 'scalar' -> number, 'vector' -> {r,g,b,a}, 'texture' -> asset path string.
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": {
"path": "<path>",
"parameter": "<parameter>",
"type": "<type>",
"value": "<value>"
},
"name": "set_mi_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Material instance asset path. | |
| parameter | Yes | Parameter name as declared on the parent material. | |
| type | Yes | Parameter type discriminator. | |
| value | Yes | Value shape varies by type: scalar -> number, vector -> {r,g,b,a}, texture -> string asset path. |