diagnostics
Retrieve current errors and warnings for a file, or for all open files with issues. Waits for fresh results after recent edits.
Instructions
Get current diagnostics (errors, warnings) for a file. If no file is specified, returns diagnostics for all currently open files with issues. Waits for fresh results after recent edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Relative file path (optional — omit for all currently open files with diagnostics) |