material_float
Set float properties on Unity materials to adjust shader values like _Metallic or _Smoothness for visual effects.
Instructions
Set a float property on a material (e.g. _Metallic, _Smoothness, _Glossiness).
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": {
"materialPath": "<materialPath>",
"propertyName": "<propertyName>",
"value": "<value>"
},
"name": "material_float"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| materialPath | Yes | Asset path to the material | |
| propertyName | Yes | Shader property name (e.g. _Metallic, _Smoothness) | |
| value | Yes | Float value to set |