assign_shader_material
Wrap a shader in a ShaderMaterial and assign it to a specified node in the edited scene.
Instructions
Wrap a shader in a new ShaderMaterial and assign it to a node in the edited scene
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 | ||
| shader_path | Yes |