godot_analyze_shader
Analyze a .gdshader file to extract uniforms, varyings, and functions with complexity metrics and performance hints so you can review and optimize shader code.
Instructions
Deep analysis of a .gdshader file - uniforms, varyings, functions, complexity metrics, and performance hints.
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": {
"file": "<file>"
},
"name": "godot_analyze_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Shader file path (.gdshader) |