find_references
Find all real references to a symbol, including dependency-injection registrations and interface implementations, before renaming or changing its signature.
Instructions
Find everything that references a symbol — the real call/usage sites the compiler sees, including dependency-injection registrations and interface implementations that a text search misses. Run this before renaming, changing a signature, or deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional: file containing the symbol | |
| line | No | Optional: 1-based line of the symbol | |
| name | Yes | Symbol name to look up | |
| limit | No | Max results (default 50) | |
| include_code | No | Show the source at each reference (default true). Leave it on: without it you must open each file to use the answer. |