vscode_get_diagnostics
Read compiler, linter, and language-server errors and warnings from the VS Code Problems panel, optionally filtered by file path or severity, to identify and fix code issues.
Instructions
Read compiler, linter, and language-server errors/warnings (e.g. Clangd, C/C++, Pylance, ESLint) from VS Code Problems panel.
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": "vscode_get_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Path | No | Optional file path to filter diagnostics; omit to fetch all workspace diagnostics. | |
| Severity | No | Optional severity filter. |