call_chain
Trace callers and callees at a specific code line when the symbol name is unknown. Provide a file path and line number to map call relationships, with adjustable depth and result limits for targeted analysis.
Instructions
Callers/callees at a line; use when you know line, not symbol name. Symbol-level? impact_analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path relative to workspace_dir (e.g. "src/auth.py") | |
| line | No | Line number. OR symbol (at least one required). | |
| depth | No | Call chain depth (default: 2, max: 10) | |
| symbol | No | Symbol name. OR line. Both? symbol wins. | |
| max_callees | No | Max callees to return (default: 20) | |
| max_callers | No | Max callers to return (default: 20) | |
| workspace_dir | Yes | REQUIRED: project root (abs). reindex first if new. |