Use case
Change blast radiusWhat does this change reach?
Before a change merges, the useful question is what it touches: the symbols it changes, who calls them, the tests that reach them and the files that usually change with them. impact answers from a diff or a list of paths.
Why ask ahto
One answer, not a script
The answer comes in sections (symbols, callers, tests, files changed together), each cut at limit, and a section cut short ends with a row that says how many were left out.
Then
What to do with the answer
Run the tests the rows name before the rest. The same call takes a unified diff in diff, read against the commit it starts from, so an agent can check its own patch before it proposes it.
function_call · impact
Impact of a change
The blast radius of a change, from a unified diff (git diff), a list of paths, a symbol name or a directory: the symbols it changes, their callers, the tests that reach them (the ones that call or use a changed symbol first, then the other tests in a changed directory), and the files usually changed with these. The diff is read against the commit (its old side); a path without a diff counts as changed whole. name and path are read only when there is no diff and no paths: a name is the change of its definitions, a path alone every file at or under it. Each section has at most limit rows; a section cut short ends with a more row that says how many were left out. A caller detail ends with "of Name at path:line" only when several symbols match.
From your agent, over MCP
From a terminal
Parameters
| Name | Type | Meaning |
|---|---|---|
diff | string | a unified diff, as git diff prints it |
paths | string | changed paths, separated by commas or spaces |
name | string | with no diff and no paths: the symbol to change, as explain_symbol takes it |
container | string | the receiver type or class of a method, or the type of a field; empty matches any |
path | path | with a name, the directory or file its definition is under; alone, the directory or file to change |
tests | choice | all lists the tests that call or use a changed symbol first, then the other tests in a changed directory; direct lists only the first (default all) |
limit | int | the most rows per section (default 50) |
The columns of the answer
| Column | Meaning |
|---|---|
section | which part of the answer the row is in; more says how many rows a section left out |
path | the file the row is about |
line | the line the row is about |
name | the item the row is about |
detail | the row's value or explanation |
Keep going
More in the docs
Other questions
The parameters and columns above are the ones ahto reports for impact at commit 6bcefbc, 2026-12-04.
Live on the demo