lsp_explain_diagnostics
Group diagnostics by root cause and propose fix order using LSP-only information. Optionally filter to a single file or include fix candidates.
Instructions
Explain diagnostics using LSP-only information. Groups diagnostics by root cause and proposes fix order. Does NOT use AST extraction.
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": "lsp_explain_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Filter diagnostics to a single file. Omit for workspace-wide. | |
| workspaceWide | No | Include all files when true. | |
| maxDiagnostics | No | Maximum root cause candidates. | |
| includeFixCandidates | No | Include fix candidates for top diagnostics. |