get_outgoing_calls

[callgraph]

Lists callable symbols invoked by a function or method.

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.
maxCallSitesPerTargetnumberNoMaximum call sites to include per callee group.
skipnumberNoNumber of matching results to skip.
takenumberNoMaximum number of matching results to return.

Examples

Inspect outgoing calls from a function

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

Response Notes

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

↑/↓ NavigateEnter OpenSpace Expand