get_diagnostics
Retrieve LSP diagnostics like errors and warnings for a specific file or the entire workspace, with optional severity filtering.
Instructions
Get LSP diagnostics (errors, warnings) for a file or the entire workspace
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": "get_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File path to filter diagnostics (omit for all) | |
| severity | No | Minimum severity level |