lsp_diagnostics
Get compiler and type-checker diagnostics from real language servers for given files or a directory; set all to include project-wide errors without VS Code.
Instructions
Compiler/type-checker diagnostics from the real language server (gopls, typescript-language-server, pyright) for files or a directory — no VS Code needed. all: true also returns diagnostics the server reported for other files of the project.
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_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| path | No | ||
| paths | No | ||
| waitMs | No |