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"}
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": {
"repo_path": "<repo_path>",
"file_path": "<file_path>"
},
"name": "impact_analysis"
}
}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) |