find_references
Find direct callers, importers, and references for a code entity to see what depends on it. Use for one hop; for full chains, use trace_data_flow.
Instructions
Find who depends on one entity: direct callers, importers and references, one row each with id, name, kind, file and the lines it references from. Call it for one hop. For a whole chain, use trace_data_flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Exact symbol name to resolve. Optional if entity_id is provided. | |
| entity_id | No | Exact entity UUID. Optional if query is provided. | |
| max_chars | No | Serialized characters this response may occupy; what was cut is named in `elisions`. | |
| relation_kinds | No | Filter to calls, imports or references. Defaults to all three. |