Find where a symbol is defined
find_definitionFind where a symbol is defined in the indexed codebase, returning file path, line, column, and definition kind. Supports pagination and path scoping for targeted searches.
Instructions
Look up a symbol name in the index; return definition site(s) as path:line:col + kind. Heuristic. Paged: the total is always exact, limit/offset control how many are printed, pathPrefix scopes them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | ||
| limit | No | Max sites to print (default 50). | |
| offset | No | ||
| pathPrefix | No | Only definitions under this path. |