trace_path
Trace call paths from a symbol in your codebase, identifying upstream callers or downstream callees to a specified depth.
Instructions
Trace all call paths from a symbol (upstream callers or downstream callees).
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": {
"project_id": "<project_id>",
"symbol": "<symbol>"
},
"name": "trace_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol name | |
| direction | No | up=callers, down=callees | down |
| max_depth | No | Maximum traversal depth (default 5) | |
| project_id | Yes | Project ID |