Change impact
change_impactIdentify files, symbols, and tests affected by planned code changes so you know what to read and which tests to run before renaming or editing.
Instructions
List the files and symbols affected by changing given files or symbols (direction: dependents, dependencies or both). At least one of files/symbols; a symbol seed takes {name, relative_path} (file is an alias). Use when: you are about to rename or change something and need which files to read and which tests to run. Avoid when: you want the whole graph (dependency_graph). Output: affected[] {id, distance, path, confidence}, summary {affected_files, affected_symbols, tests_affected}, unresolved[] (the seeds that did not resolve: symbol, reason, next_step), stats {unresolved_imports, min_confidence, filtered_possible}. By default only exact/likely edges are traversed; pass min_confidence="possible" to follow name-matching guesses.
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": "change_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max hops from the seeds (default 5). | |
| files | No | Workspace paths you plan to edit. At least one of files/symbols is required. | |
| format | No | Output format (default json). | |
| symbols | No | Symbols you plan to rename/change; pass a name, or {name, relative_path} (or {name, file}) when the name is ambiguous. At least one of files/symbols is required. | |
| direction | No | Traversal direction (default dependents). | |
| max_nodes | No | Max affected files (default 300). | |
| include_tests | No | true includes test files (default) and counts them in tests_affected. | |
| min_confidence | No | Only traverse edges at or above this confidence (default "likely"). "exact" = import/declared-in-one-file ties; "likely" = unique name match; "possible" = name matched several declarations (noisy at distance >= 2). Skipped edges are counted in stats.filtered_possible. |