relations
Query a symbol's relationships for impact analysis: who calls it, what it calls, implementations, and non-call references.
Instructions
A symbol's neighbourhood in one call: who calls it, what it calls, what implements/subclasses it, and non-call references — each with its signature. Accepts a node id OR a name (default depth 2, limit 25). THE tool for impact analysis and 'what implements X'. If the name matches several definitions, pass file (a path or suffix) to pin the right one — e.g. one UserService per service in a monorepo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| depth | No | Max traversal hops (clamped to 10) | |
| limit | No | Max nodes to return (clamped to 200) | |
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| error | No | ||
| callees | No | ||
| callers | No | ||
| indexing | No | ||
| truncated | No | ||
| references | No | ||
| repeat_hint | No | ||
| implementors | No | ||
| callees_total | No | ||
| callers_total | No | ||
| resolver_status | No | ok | |
| references_total | No | ||
| implementors_total | No |