validate_material_function
Diagnose issues in a Material Function's internal graph by detecting unconnected outputs, unused inputs, and orphaned nodes, returning a health status.
Instructions
Diagnose issues in a Material Function's internal graph.
Reports:
unconnected_outputs: FunctionOutput nodes with nothing wired to their input
unused_inputs: FunctionInput nodes whose output nobody consumes
orphaned: internal nodes with no connections at all
Returns healthy=true when no issues found.
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": {
"function_path": "<function_path>"
},
"name": "validate_material_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |