get_callers
Map reverse call graph to find all direct and indirect callers of a given Python function in a file or package.
Instructions
Reverse call graph: who calls this function, directly and transitively.
Args:
path: Path to a .py file.
function: Function name or Class.method.
scope: "file" (default) or "package".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| scope | No | file | |
| function | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |