Browse documentation

find_callers

[callgraph]

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

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. Default: 0
takenumberNoMaximum number of matching results to return.

Examples

Replace sample paths and symbol keys with values from your workspace.

Find direct callers

Arguments
{
  "symbolKey": "role=canonical|..."
}
Full MCP request
Full MCP 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.