get_diagnostics
Identify errors, warnings, and other issues in code files using language server diagnostics. Works for specific files or all open files.
Instructions
Get diagnostic messages (errors, warnings) for files. Use this tool to identify problems in code files such as syntax errors, type mismatches, or other issues detected by the language server. When used without a file_path, returns diagnostics for all open files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No |