diagnostics
Retrieve compiler and linter errors and warnings in a token-efficient format, sorted from error to hint with counts, replacing raw build output.
Instructions
Compiler/linter errors + warnings (semantic) → capped file:line:col severity [code]: message, sorted error→hint with a count — the compact stand-in for raw build output. Empty = clean. Default = one path; scope="directory" scans the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File to check (or, with scope=directory, the subtree to scan; default = root). | |
| scope | No | `file` (default) | `directory` (scan project). | |
| backend | No | ||
| maxResults | No | ||
| projectPath | No |