lsp_diagnostics
Fetch compiler/type-checker diagnostics from real language servers like gopls, pyright, or typescript-language-server for files or directories. Optionally include diagnostics for other project files.
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 |