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