lsp_diagnostics
Retrieve language server diagnostics for a file to detect errors and warnings. Read-only, requires a file path.
Instructions
Language server diagnostics for a file. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "lsp_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |