codebase_impact
Identify the blast radius of changing a file or symbol by listing dependent files and functions that may break before refactoring, renaming, or deleting code.
Instructions
Impact Analysis — return the BLAST RADIUS for a file or symbol. Lists every file (and, where helpful, function) that could break if you change the target. Polymorphic on target: a path-like string ('src/foo.ts') triggers file-mode; a name-like string ('validateUser') triggers symbol-mode. Use this BEFORE refactoring, renaming, or deleting code to know what depends on it.
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": "codebase_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file path to disambiguate the target symbol. | |
| depth | No | How many hops back to walk (default 3, max 10). | |
| limit | No | Maximum candidates to list when the target symbol is ambiguous. Omit to list all. | |
| target | No | Target file path (relative) OR symbol name. | |
| symbolId | No | Exact symbol ID (e.g. 'src/foo.ts::validateUser#10') to disambiguate. | |
| projectPath | No | Absolute path to the project directory. |