Change impact (blast radius)
impactAnalyzes what breaks when code changes, returning risk levels, direct and indirect callers, importing files, touched modules, and tests to run.
Instructions
What breaks if this changes. Give target (symbol or file, or a list) or changed: true to analyse the current git diff. Returns a risk level, direct and indirect callers with call sites, importing files, modules touched, and the tests to run. Fixture files in deferred trees are not analysed unless targeted; the result says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Git ref for `changed` (default HEAD). | |
| root | No | Repository root. Defaults to the client's workspace root or the server's working directory. | |
| depth | No | Caller depth (default 3). | |
| format | No | text (default, compact, file:line cited) or json. | |
| target | No | ||
| changed | No | Use the working-tree git diff (against `base`). |