get_call_graph
Retrieve the call graph for any function in the repository, showing both callees and callers across files.
Instructions
Get what a function calls and what calls it across the repo.
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": {
"file_path": "<file_path>",
"function_name": "<function_name>"
},
"name": "get_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | path relative to the repo root (e.g., "src/main.py" or "calculator.py") | |
| function_name | Yes | name of the function to inspect |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |