find_callers tool
Tool: find_callers
Constructs call tree trees indicating which methods invoke a target function.
Arguments Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| function | string | Required | Function identifier. |
| repo_path | string | Required | Absolute path to the workspace root. |
Tool Input JSONRequest
{
"function": "SaveSymbols",
"repo_path": "/home/mryg/Research-Architectures/CLI"
}Tool Response JSONResponse
[
{
"caller": "func ReIndexFile",
"file": "internal/watcher/watchdog.go",
"line": 84
}
]Developer Best Practices
- Use this to understand call execution routes without trace analyzers.
- Combines with find_references to audit recursive dependencies.