code_graph_walk
Walk a code graph from a symbol, following imports and inheritance to collect contextual code up to a token limit. Deterministic and read-only.
Instructions
BFS from an anchor symbol along import + inherit edges, collecting context
until a token budget is hit. Deterministic (alphabetical within each hop).
anchor: symbol name or fqn. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | Yes | ||
| app_id | Yes | ||
| db_path | No | ||
| hop_depth | No | ||
| max_tokens | No |