validate_project
Check all or selected GDScript files in a Godot project using --check-only; target scripts or a glob pattern to catch syntax errors before running.
Instructions
Check all or selected GDScript files using Godot --check-only. Choose scripts or pattern for targeted validation. Does not validate C# or gameplay.
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>"
},
"name": "validate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Relative script glob; mutually exclusive with scripts | |
| scripts | No | ||
| timeoutMs | No | ||
| projectPath | Yes | Godot project directory |