graph.trace_calls
Trace the call chain for a symbol by specifying its direction: inbound or outbound, to analyze code dependencies.
Instructions
Returns the inbound or outbound call chain for a given symbol. direction: 'inbound' or 'outbound'
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": {
"symbol_name": "<symbol_name>",
"direction": "<direction>"
},
"name": "graph.trace_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| symbol_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |