blast_radius
Analyze the impact of changing a Python function by finding all functions transitively affected via reverse-call-graph traversal. Returns direct callers, all impacted functions, and risk level.
Instructions
Reverse-call-graph impact analysis for a Python function: BFS over inverted call edges to find every function transitively affected by changing target_function. Returns direct_callers, all_impacted, impacted_count, total_functions and a risk_level. Python files only.
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": {
"file_path": "<file_path>",
"target_function": "<target_function>"
},
"name": "blast_radius"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to a .py file (relative to --root or absolute). | |
| target_function | Yes | Function/method name to analyze the blast radius of. |