validate_scripts
Batch-check GDScript files for errors. By default, checks only git-changed .gd files; optionally check all or specify paths.
Instructions
Batch-check GDScript files (git-changed by default, or all)
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); "all" = every .gd in project | |
| projectPath | Yes | Godot project path | |
| scriptPaths | No | Optional explicit list of .gd paths to check (overrides scope) |