get_call_graph
Trace execution flow by retrieving the call graph of any function, showing both callees and callers recursively to any depth.
Instructions
Get the call graph for a function: what it calls and what calls it, recursively up to the specified depth.
Supports 'ClassName.method_name' syntax (e.g., 'SkillManager.initialize'). If multiple functions share the same name, returns a disambiguation list.
Use this to trace execution flow and understand how a function fits into the larger call chain. By default, Python builtins and common stdlib methods (len, append, strip, etc.) are filtered out for clarity. Set include_builtins=True to see everything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | ||
| depth | No | ||
| include_builtins | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||