symbol_lookup
Find a symbol's definition across multiple languages with signatures, locations, and repo memories to disambiguate before graph or read calls.
Instructions
Resolve a symbol name (or ref/id) to its definition(s) in Rust, TypeScript, Kotlin, C, C++, or Python — exact or fuzzy. Returns candidates with signatures, locations, logical-symbol grouping (cfg variants), and any bound repo memories. Use to disambiguate before a graph or read call. Generated bindings (codegen, ubrn FFI output) are excluded by default; pass include: ["generated"] to see them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ref | No | ||
| lang | No | ||
| limit | No | ||
| symbol | No | ||
| include | No | What to include: `memories` (on by default) and/or `generated` (off by default — opts generated bindings back into the results). Pass `include: []` to suppress memories. | |
| worktree | No | Absolute path to a linked git worktree you're working in; serves that worktree's branch overlay over the indexed checkout. Omit (or pass an unrelated path) for the indexed checkout. | |
| allow_ambiguous | No |