repo.references
Locate every cross-file reference to a named symbol, returning file paths, line numbers, and confidence levels.
Instructions
Find all cross-file references to a named symbol using AST (Python) or lexical analysis. Returns file paths, line numbers, strategy, and confidence level per reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path to scope the reference search to one file. | |
| top_k | No | Maximum number of references to return. | |
| symbol | Yes | Symbol name to find references for (e.g. 'MyClass.my_method'). |