get_call_graph
Build a bidirectional call graph around a function to see its callers and callees. Understand control flow and dependencies.
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 |
|---|---|---|---|
| symbol_id | Yes | Symbol ID to center the graph on | |
| fqn | Yes | Fully qualified name to center the graph on | |
| depth | No | Traversal depth on each side (default 2) |