lsp_snapshot_diagnostics
Capture a snapshot of current diagnostics, returning an ID for later comparison. Optionally filter by file or label.
Instructions
Take a snapshot of current diagnostic state. Returns a snapshot ID for later comparison.
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_snapshot_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label for this snapshot. | |
| filePath | No | Filter to a single file. Omit for all diagnostics. |