Get Flaky Tests
getFlakyTestsLists tests that the insights engine marks as flaky (passing and failing intermittently) in a date range, with each test's flake rate, build and environment. Returns only flaky tests, plus how many tests were scanned. Flakiness is only computed for about the last 7 days of tests; the response says how many tests in the range had it.
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": "getFlakyTests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum flaky tests to return, 1 to 200. Defaults to 50. | |
| toDate | No | End date, YYYY-MM-DD. Defaults to today. | |
| fromDate | No | Start date, YYYY-MM-DD, within the last 59 days (older results are not served). Defaults to 30 days before toDate. |