diagnostics
Surface compiler and linter errors, warnings, and hints from a file or project directory. Returns a token-capped, sorted list with file:line:col, severity, and code; empty output signals clean code.
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 |