find_callers

[callgraph]

Finds call sites for a function, method, or callable symbol.

Why this tool exists

Regressions follow call paths and exported API usage, not just filenames.

How it helps the agent

The model can inspect callers, outgoing calls, and bounded impact before choosing where to patch.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
symbolKeystringYesStable symbol key returned by a prior symbol discovery tool.
maxCallSitesPerCallernumberNoMaximum call sites to include per caller group.
skipnumberNoNumber of matching results to skip.
takenumberNoMaximum number of matching results to return.

Examples

Find direct callers

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_callers",
    "arguments": {
      "symbolKey": "role=canonical|..."
    }
  }
}

Response Notes

Returns caller groups, call-site spans, and paging metadata.

↑/↓ NavigateEnter OpenSpace Expand