set_shader_node_param
Update a parameter on a VisualShader node in a Godot project by specifying its path, node index, parameter name, and new value.
Instructions
Set a parameter on a VisualShader node (constant, expression, operator, etc.).
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>",
"node_index": "<node_index>",
"param": "<param>",
"value": "<value>"
},
"name": "set_shader_node_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to VisualShader .tres | |
| param | Yes | Parameter name (e.g. "constant", "expression", "operator") | |
| value | Yes | New value | |
| node_index | Yes | Node index |