Validate scripts
script_validateValidate GDScript syntax across a single file or entire project, reporting errors with file and line. Check scripts after editing to catch problems before running the game, without slowing down your workflow.
Instructions
Parse-check GDScript — one file or the whole project — and report errors with file and line. Run this after editing scripts and before running the game; it is much faster than launching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Single script to check. Omit to check every .gd in the project. | |
| project | No | Godot project folder (the one with project.godot). Optional if the server was started with --project. |