lean_term_goal
Get the expected type (term goal) at a specified location in a Lean file by providing the file path and line number, with optional column, to see what type is expected at that point.
Instructions
Get the expected type (term goal) 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, optional): Column number (1-indexed). Defaults to None => end of line.
Returns:
str: Expected type or error msg
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| column | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |