lean_lookup_symbol
Find Lean 4 declaration definitions and navigate to them instantly without network latency, using pre-built .ilean caches for offline lookup.
Instructions
Offline zero-latency symbol lookup and jump-to-definition via pre-compiled .ilean cache
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": {
"symbol": "<symbol>"
},
"name": "lean_lookup_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Lean declaration name (e.g. RealQ.bellmanOp or BoundedRewardKernel) | |
| preferOfflineIlean | No | Use fast .ilean cache (default true) |