Find flaky tests
find_flaky_testsIdentify flaky tests by detecting inconsistent pass/fail patterns across recent CI runs and excluding regressions that fail once and stay broken.
Instructions
Tests that pass and fail without a consistent pattern. A test that broke once and stayed broken is a regression, not flaky, and is left out. Failing and passing on the same commit is the strongest signal.
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": "find_flaky_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch, e.g. main | |
| min_flips | No | ||
| last_n_runs | No | How many recent runs to look at |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |