Validate Scripts
validate_scriptsBatch-check GDScript files for errors in a Godot project, either scanning all scripts or only recently changed ones via git, to catch issues before running the game.
Instructions
Batch-check GDScript files (git-chan…
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_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "changed" = git-changed .gd (default… | |
| projectPath | Yes | Godot project path | |
| scriptPaths | No | Optional explicit list of .gd paths… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| meta | Yes | ||
| error | No |