get_diagnostics
Retrieve error and warning diagnostics for code files to identify syntax errors, type mismatches, or issues detected by language server. Without a file path, returns diagnostics for 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 |