lsp_wait_for_diagnostics
Wait for diagnostics to arrive after syncing a document or external edit. Use it to synchronize agent workflows with language server analysis.
Instructions
Wait for diagnostics to arrive after a document sync or external edit. Useful for agent synchronization loops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | File path to wait for diagnostics on. Omit for workspace-wide. | |
| settleMs | No | Quiet period after first event in ms. | |
| timeoutMs | No | Max wait time in ms. | |
| workspaceWide | No | Wait for any diagnostic event workspace-wide. |