set_shader_param
Updates a shader uniform value on a node's ShaderMaterial by node path and parameter name, letting AI edit material visuals in Godot without manual inspector changes.
Instructions
Set a shader uniform parameter on a node's ShaderMaterial.
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": {
"node_path": "<node_path>",
"param_name": "<param_name>",
"value": "<value>"
},
"name": "set_shader_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set | |
| node_path | Yes | Node path | |
| param_name | Yes | Uniform parameter name |