CostAffective
Back to Tools Overview
find_callers tool

Tool: find_callers

Constructs call tree trees indicating which methods invoke a target function.

Arguments Schema

ParameterTypeRequiredDescription
functionstringRequiredFunction identifier.
repo_pathstringRequiredAbsolute 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.