get_call_graph
Trace program execution pathways by generating caller-callee trees for a given function, showing either who calls it or who it calls.
Instructions
Generates caller-callee trees to trace program execution pathways for a given function or method.
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": {
"functionName": "<functionName>"
},
"name": "get_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Direction of trace. "incoming" to find who calls this function, "outgoing" to find who this function calls. | incoming |
| functionName | Yes | The name of the function to trace. |