Find symbol definition
find_symbolLocate exact file and line where a function, class, or type is defined. Use instead of grepping, then read only that line range.
Instructions
Exact file:line where a function/class/interface/type/const is defined, from the symbol index. Use instead of grepping for definitions. Then read only that line range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional filter: class | function | const | interface | type | enum | method | property. | |
| name | Yes | Symbol name (exact, falls back to word-part match). | |
| file_glob | No | Restrict to files matching a glob, e.g. "packages/ui-web/**". | |
| exported_only | No | Only exported symbols (the public API of an area). |