impact
Computes a symbol's transitive callers and hop distances to show what breaks before risky edits, plus the tests to re-run. Use for indirect dependencies beyond direct usages.
Instructions
Answer 'what breaks if I change this': everything that reaches a symbol transitively through the call graph, with hop distance, plus the tests to re-run. Use find_usages for the direct, one-hop answer; use this before a risky edit, when the indirect callers are the point. max_depth trades reach for noise: 2 stays close to the change, 6 on a hub symbol can return most of the codebase. Transitive callers need the graph layer.
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": {
"symbol": "<symbol>"
},
"name": "impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name. Omit when only one source applies. | |
| symbol | Yes | Identifier whose blast radius to compute. | |
| max_depth | No | Call-graph hops to walk (1-6). | |
| tests_limit | No | Max tests. |