lean_term_goal
Retrieves the expected term type at the cursor position in a Lean file to guide proof construction and type checking. Use it to inspect the goal type during interactive verification.
Instructions
Queries expected term type under cursor ($/lean/plainTermGoal)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>",
"line": "<line>"
},
"name": "lean_term_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | 1-based column number | |
| line | Yes | 1-based line number | |
| filePath | Yes | Absolute or relative path to the .lean file | |
| character | No | Synonym for col |