analyze_impact
Analyze the blast radius of file changes to identify directly and transitively affected files with a risk score, helping prevent breaking changes before committing.
Instructions
Analyze the blast radius of changing specific files. Returns which files would be directly and transitively affected, with a risk score (0-1). Use BEFORE committing multi-file changes to understand what might break. Does NOT modify any files.
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": {
"projectRoot": "<projectRoot>",
"files": "<files>"
},
"name": "analyze_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Relative file paths that are being changed (e.g. ['src/utils/helpers.ts']) | |
| projectRoot | Yes | Absolute path to the project root directory | |
| tsconfigPath | No | Optional tsconfig path relative to projectRoot |