lean_local_search
Check whether a Lean declaration exists locally by searching its name or prefix, preventing failed lemma lookups.
Instructions
Fast local search to verify declarations exist. Use BEFORE trying a lemma name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches | |
| query | Yes | Declaration name or prefix | |
| project_root | No | Project root (inferred if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | List of local search results |