Graph
graphTrace function callers or callees to identify impact before refactoring. Use transitive mode to reveal full blast radius of shared code changes.
Instructions
Use to trace who calls a function (direction='callers'), what it calls (direction='callees'), or — with transitive=True — the full transitive blast radius of changing it. MUST use transitive=True before refactoring or editing a widely-shared symbol; grep can't show transitive impact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | 'callers' (who calls this) or 'callees' (what this calls) | callers |
| max_depth | No | Max traversal depth when transitive=True (default 10) | |
| transitive | No | True = full transitive closure for change-impact analysis (MUST use before refactoring a shared symbol). Only valid with direction='callers'. | |
| symbol_name | Yes | Name of the function/symbol to trace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||