Change impact
project_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 (project_dependency_graph). Output: affected[] {id, distance, path, confidence}, summary {affected_files, affected_symbols, tests_affected}, unresolved[].
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": "project_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 | 1 includes test files (default) and counts them in tests_affected. |