validate_script
Validate GDScript syntax with Godot's headless parser. Catch errors in your script files before running the game.
Instructions
Validate a GDScript file for syntax errors using Godot's parser in headless mode. No running game needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPath | Yes | Path to the GDScript file to validate (relative to project, e.g., "scripts/player.gd"). | |
| projectPath | Yes | Path to the Godot project directory. |