check_script
Validate a GDScript file with Godot's --check-only mode, returning structured parse errors so AI agents can detect and fix script issues in a project.
Instructions
Parse a GDScript file with Godot --check-only and return structured errors
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": {
"projectPath": "<projectPath>",
"filePath": "<filePath>"
},
"name": "check_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Script path relative to project | |
| projectPath | Yes | Path to the Godot project directory |