callgraph
Explore a function's call hierarchy by mapping callees or callers with breadth-first traversal, depth control, and node limits.
Instructions
Breadth-first call graph around a function. direction: callees | callers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"addr": "<addr>"
},
"name": "callgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | ||
| build | No | ||
| depth | No | ||
| direction | No | callees | |
| max_nodes | No |