get_call_graph
Build a bidirectional call graph to see who calls a function and what it calls, clarifying control flow.
Instructions
Build a bidirectional call graph centered on a symbol (who calls it + what it calls). Use to understand control flow through a function. For flat list of all references use find_usages instead. Read-only. Returns JSON: { root: { symbol_id, name, calls: [...], called_by: [...] } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqn | Yes | Fully qualified name to center the graph on | |
| depth | No | Traversal depth on each side (default 2) | |
| symbol_id | Yes | Symbol ID to center the graph on |