MCP Tool

get_call_chain

Callers and callees of a symbol.

Parameters

NameTypeRequiredDescription
symbolstringYesFunction name (exact match)

Sample call

json
{ "symbol": "validateJWT" }

Sample output

bash
validateJWT is called by: authMiddleware, rateLimiter
validateJWT calls: sha256, verifyToken

When to call

  • Understanding how a function fits into the broader flow
  • Tracing a bug, "what calls this, what does this call"
  • Estimating refactor blast radius for a specific symbol