find_references
Find all usages of a symbol in a codebase, including calls, imports, and attribute access. Each result shows file, line number, and source line.
Instructions
Find every USE-SITE of a symbol (calls, attribute access, imports) across the repo, each with file:line and the source line.
Resolution is scope/import-aware name matching, not full type inference — very
accurate for module-level functions/classes; methods may include same-named
calls on unrelated types. Use find_symbol to see where it is defined instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Symbol name whose usages you want. | |
| include_definitions | No | Also include the definition sites in results. | |
| limit | No | Max references to return. | |
| offset | No | Pagination offset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |