Find flaky tests
find_flaky_testsDetect flaky tests that flip between pass and fail across CI runs. Returns a flakiness score, timeline, failure signatures and a suggested fix, excluding systemic outages that can mimic flakiness.
Instructions
Detect flaky tests: tests that flip between pass and fail across runs. Failures caused by a systemic outage in a single run (same error hitting 3+ tests) are excluded so outages don't masquerade as flakiness. Returns score, timeline, failure signatures and a suggested fix.
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 |
|---|---|---|---|
| last_n | No | Only consider the most recent N runs (default: all runs) | |
| min_flips | No | Minimum pass↔fail transitions (default 3) | |
| min_failures | No | Minimum failures to be considered (default 2) |