related_symbols
Discover code symbols related to an anchor by analyzing call-graph proximity with personalized PageRank. Find collaborators, siblings, and helper functions that plain caller/callee lists miss.
Instructions
"What else should I read before touching this?" via the call graph.
Runs personalized PageRank seeded on the anchor symbol and treats the call graph as undirected, so it surfaces collaborators a plain caller/callee list misses -- siblings that share a hub, helpers two hops away.
This is the structural analogue of semantic search, and it needs no embeddings: proximity in the call graph is the relationship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results | |
| symbol | Yes | Anchor symbol (name, qualname or id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |