lean_hover_info
Retrieve documentation and type information for a term at a given line and column in a Lean file.
Instructions
Get hover info (docs for syntax, variables, functions, etc.) at a specific location in a Lean file.
Args:
file_path (str): Abs path to Lean file
line (int): Line number (1-indexed)
column (int): Column number (1-indexed). Make sure to use the start or within the term, not the end.
Returns:
str: Hover info or error msg
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| column | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |