Download
Docs menu+

callgraph

Tools / Read code · read-only

Callgraph from a function as mermaid: callees (callers=true: what reaches it), six per function before the rest is shared out, imports as leaves; a trailing %% line counts what was hidden (max_nodes 30, max 100).

Parameters

addressstringrequired

Root function entry address.

callersboolean

What reaches it instead of what it calls.

max_nodesinteger

Maximum graph nodes (default 30, max 100).

Call

json
{
  "name": "callgraph",
  "arguments": {
    "address": "…"
  }
}