get_test_impact
Identify which existing tests to run for a code change by tracing the reverse-import graph from changed files to directly or transitively affected tests.
Instructions
Which existing tests should be run for this change.
Walks the reverse-import graph from changed files to tests that cover them directly or transitively (up to 2 hops).
Returns: {tests: [...], by_test: {test: [reasons]}, notes: [...]}
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": {
"repo": "<repo>"
},
"name": "get_test_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| head | No | ||
| repo | Yes |