find_symbol
Locate where a symbol is defined in a codebase, returning file:line, signature, and docs. Use it to answer 'where is X?' and get the most structurally relevant match first.
Instructions
Locate where a symbol is DEFINED, with its file:line, signature and doc.
This is the right first call for "where is X?" -- it is exact and ranked by
structural importance, so if a repo has six functions called run, the one
the codebase actually revolves around comes first.
Use search_code instead when you only know roughly what the thing does
("the retry logic") rather than what it is called.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter by kind: function, method, class, interface, struct, enum, type, const | |
| lang | No | Filter by language: python, typescript, tsx, javascript, go | |
| name | Yes | Symbol name or qualified name, exact or partial | |
| limit | No | Max results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |