Get Call Graph
get_call_graphResolve a procedure symbol or address to its canonical entry, then traverse caller or callee relationships in either direction to build the reachable call graph.
Instructions
Resolve one symbol or address to its canonical procedure entry, then traverse the bound provider's caller or callee relationships until the reachable graph is exhausted. Every node uses a canonical address and has an ok/error status; failures use safe typed projections. Unresolved indirect calls may be missing and results are not a whole-program CFG.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "0x1000",
"direction": "forward"
},
"name": "get_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | A procedure symbol or address to resolve to its canonical entry | |
| direction | No | Direction in which to traverse or compare relationships. |