validate_shader_graph
Validates a Shader Graph asset by forcing a synchronous import and failing when deserialization, target resolution, Shader loading, or compiler checks report errors.
Instructions
Force synchronous import and fail unless GraphData deserializes, at least one target exists, no recognized serialized object is unresolved, a Shader asset loads, and ShaderUtil reports no compiler 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": {
"assetPath": "<assetPath>"
},
"name": "validate_shader_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetPath | Yes |