get_diagnostics
Retrieve diagnostic messages, including errors and warnings, for code files to identify syntax errors, type mismatches, and other issues. 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 |