inspect_shader_graph
Deserializes Unity Shader Graph assets via GraphData to report targets, properties, nodes, slot details, edges, positions, unresolved objects, and compiler diagnostics, and can open asset in Unity.
Instructions
Deserialize a Shader Graph through the installed package's GraphData reader and return targets, properties, nodes, real slot ids/directions/types, edges, positions, unresolved objects, and ShaderUtil compiler diagnostics. This never hand-parses or rewrites Shader Graph JSON. It can optionally open the asset in Unity after inspection.
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": "inspect_shader_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetPath | Yes | ||
| openInEditor | No |