get_material_errors
Retrieve shader compilation errors for a material, including error messages and causing node indices. Recompiles the material by default to get fresh errors.
Instructions
Get shader compilation errors for a material.
Returns error messages and the node indices that caused them. Recompiles first by default to get fresh errors.
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": {
"material_path": "<material_path>"
},
"name": "get_material_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recompile | No | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |