get_diagnostics
Analyze TypeScript files to retrieve diagnostics, including errors and warnings, by specifying a root directory and file path or using virtual content for evaluation.
Instructions
Get TypeScript diagnostics (errors, warnings) for a single file
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path to check for diagnostics (relative to root) | |
| root | Yes | Root directory for resolving relative paths | |
| virtualContent | No | Virtual content to use for diagnostics instead of file content |