lsp-diagnostics
Get GDScript diagnostics for a script file from the Godot Language Server to identify coding issues.
Instructions
[compact alias of lsp_get_diagnostics] Get GDScript diagnostics from Godot Language Server for a script file.
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": "lsp-diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to Godot project root | |
| scriptPath | Yes | Path to script relative to project root |