lsp_fix_diagnostic_candidates
Retrieve LSP-based fix candidates for a diagnostic, including code actions, hover, definition, and signature help. Avoids AST context.
Instructions
Return LSP-based fix candidates for a diagnostic. Composes code actions, hover, definition, and signature help. Does NOT use AST context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Range to find intersecting diagnostic. | |
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| includeHover | No | Include hover information. | |
| diagnosticCode | No | Diagnostic code to match. | |
| diagnosticIndex | No | 0-based index of diagnostic in the file. | |
| includeDefinition | No | Include definition locations. | |
| includeCodeActions | No | Include LSP code actions. | |
| includeSignatureHelp | No | Include signature help. |