validate_shader
Check .gdshader files for syntax errors in shader_type, braces, and declarations to ensure shader code compiles correctly.
Instructions
Validate .gdshader for syntax issues (shader_type, braces, declarations).
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": {
"path": "<path>"
},
"name": "validate_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .gdshader file to validate (relative to project root) |