get_call_chain
Trace the sequential call graph between two functions to see how one reaches the other, with configurable maximum depth for focused results.
Instructions
Trace sequential call graph between start and end functions.
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": {
"startFunction": "<startFunction>",
"endFunction": "<endFunction>"
},
"name": "get_call_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Max depth (1-10, default: 5). | |
| endFunction | Yes | Destination function name. | |
| startFunction | Yes | Originating function name. | |
| workspacePath | No | Optional workspace root path. |