graph_neighborhood
Explore what a code entity depends on and what depends on it, to a chosen depth and direction, to orient in unfamiliar code before making changes.
Instructions
Get what one entity depends on and what depends on it, to a depth you choose, as summaries with ids. Call it to orient in unfamiliar code. Use find_references for callers only, trace_data_flow for an ordered path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Traversal depth | |
| limit | No | Max entities to return (default 30) | |
| direction | No | `out` for what the focal depends on, `in` for what depends on it, `both` merges. | both |
| entity_id | Yes | Entity UUID | |
| max_chars | No | Serialized characters this response may occupy; what was cut is named in `elisions`. |