impact_analysis
Analyze the blast radius of changes to a file or entity by combining reverse call graphs, inheritance dependents, file-level imports, and affected wiki pages.
Instructions
Analyze the blast radius of changes to a file or entity. Combines reverse call graph, inheritance dependents, file-level imports, and affected wiki pages to help understand impact before making changes.
Requires: index_repository must be called first.
Example: {"repo_path": "/path/to/repo", "file_path": "src/auth.py"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| file_path | Yes | File path relative to repo root to analyze impact for | |
| entity_name | No | Optional: specific function/class name to narrow analysis | |
| include_reverse_calls | No | Include reverse call graph - who calls functions in this file (default: true) | |
| include_dependents | No | Include files that import from this file (default: true) | |
| include_inheritance | No | Include classes that inherit from classes in this file (default: true) | |
| include_wiki_pages | No | Include wiki pages that document this file (default: true) |