validate_script
Check a GDScript file for syntax errors by loading it in Godot project. Identifies issues before runtime.
Instructions
Check a GDScript file for syntax errors by attempting to load it in Godot.
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>",
"scriptPath": "<scriptPath>"
},
"name": "validate_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project | |
| scriptPath | Yes | Path to the script to validate |