Browse documentation

get_outgoing_calls

[callgraph]

Lists callable symbols invoked by a function or method.

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

Examples

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

Inspect outgoing calls from a function

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