lean_hover_info
Retrieve type signature and documentation for any symbol in a Lean file. Helps understand APIs and theorem definitions.
Instructions
Get type signature and docs for a symbol. Essential for understanding APIs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-indexed) | |
| column | Yes | Column at START of identifier | |
| file_path | Yes | Absolute or project-root-relative path to Lean file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | Yes | Type signature and documentation | |
| symbol | Yes | The symbol being hovered | |
| diagnostics | No | Diagnostics at this position |