godot_get_diagnostics
Retrieve code errors and warnings from Godot's language server diagnostics. Specify a file path or omit for project-wide analysis.
Instructions
Get LSP diagnostics (errors, warnings) from Godot's built-in language server. Requires Godot editor to be running with the project open.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "godot_get_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path to get diagnostics for (e.g., scripts/player.gd). Omit for project-wide. | |
| port | No | LSP port (default: 6005) |