validate_script_deep
Use Godot's real compiler for deep GDScript validation. Detect syntax errors, type mismatches, missing class references, and semantic issues. Returns structured JSON with error details.
Instructions
[OPTION A] Deep GDScript validation using Godot's real compiler (headless). Detects syntax errors, type mismatches, missing class references, and semantic issues that surface at parse/compile time. More thorough than validate_script. Returns structured JSON with error details including file, line number, and error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scriptPath | Yes | Path to the GDScript file to validate (relative to project, e.g. scripts/player.gd) |