assign_shader_material
Assign a shader as a ShaderMaterial to a Godot node using its node path and shader file path, enabling custom rendering effects without manual material setup.
Instructions
Assign a shader (as a ShaderMaterial) to a node.
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>",
"shader_path": "<shader_path>"
},
"name": "assign_shader_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path to assign the material to | |
| shader_path | Yes | res:// path to the shader file |