explainDiagnostic
Inspect diagnostic details with surrounding code context, jump to definition, and see up to 5 callers at a specific file position. Resolve errors faster by understanding the code relationships.
Instructions
Bundle diagnostic details + code context (±10 lines) + go-to-definition + callers (up to 5) for a file/line/character position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute file path | |
| line | Yes | Line number (1-based) | |
| character | Yes | Character/column (1-based) |