lean_term_goal
Get the expected type at a specific line and column in a Lean file. Helps inspect type goals during proof development.
Instructions
Get the expected type at a position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number (1-indexed) | |
| column | No | Column (defaults to end of line) | |
| file_path | Yes | Absolute or project-root-relative path to Lean file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_context | Yes | Source line where term goal was queried | |
| expected_type | No | Expected type at this position |