set_material_param
Modify a single material parameter in a Godot .tres file by specifying its path, parameter name (e.g., metallic, roughness), and value.
Instructions
Set a single material parameter.
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>",
"param": "<param>",
"value": "<value>"
},
"name": "set_material_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .tres material file | |
| param | Yes | Parameter name (e.g. "metallic", "roughness", "albedo_color") | |
| value | Yes | Parameter value (e.g. "0.5", "Color(1,0,0,1)") |