assign_shader_material
Creates a ShaderMaterial and assigns it to a node's material property using the specified node path and shader path.
Instructions
Create a ShaderMaterial and assign it to a node's material property
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 | Shader resource path |