gdscript_validate
Validate proposed GDScript file content for errors without writing to disk. Returns validation status, errors, and warnings to prevent broken code.
Instructions
Check proposed file content for errors WITHOUT writing it to disk. Returns: valid flag, errors and warnings. WHEN TO CALL: before writing an edit, so broken code never reaches the project. The LSP is restored to the on-disk content afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path the content is intended for | |
| content | Yes | Full proposed file content |