get_dependency_graph
Traces dependency graphs to show which files or symbols depend on a target and reveals the blast radius before refactoring. Traces semantic call chains and bundles affected source for AI prompts.
Instructions
The Ultimate Impact Analysis tool for Vibe Coders. Analyzes what files or symbols depend on a target. Use this to understand the "blast radius" of your changes. If you provide a 'symbol', it traces semantic call chains. Set 'includeSource: true' to get a bundled Markdown of all affected code, perfect for pasting into an AI prompt for safe refactoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels deep to trace (default: 2, max: 5) | |
| symbol | No | Optional: A specific symbol (function, class) to trace impact for | |
| target | Yes | File path or directory to analyze | |
| language | Yes | Programming language | |
| showHubs | No | Optional: If true, identifies the 'Center of the Universe' (most central) symbols in the project | |
| direction | No | Which direction to trace (default: both) | both |
| includeSource | No | Optional: If true, returns a Markdown bundle of all affected source code for AI prompts |