get_call_chain
Find the shortest call chain between two code symbols via BFS. Trace how one function calls another in the dependency graph.
Instructions
Shortest dependency path between two symbols (BFS through the dep graph).
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_name": "<from_name>",
"to_name": "<to_name>"
},
"name": "get_call_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Per-hop verbosity: 0=full (source_preview), 1=sig+file, 2=minimal name+file+line. Default 2. | |
| project | No | Project name/path (default: active). | |
| to_name | Yes | Target symbol name. | |
| from_name | Yes | Starting symbol name. |