get_call_path
Trace the call path between two functions using BFS, revealing the sequence of function calls in a code graph.
Instructions
Find call path between two functions using BFS.
Requires call edges in the graph (populated by summarize_function()).
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": {
"from_function": "<from_function>",
"to_function": "<to_function>"
},
"name": "get_call_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum search depth (default: 10, max: 100) | |
| to_function | Yes | Target function | |
| from_function | Yes | Start function | |
| workspace_path | No | Target workspace (default: last configured) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |