flaky_test_detector
Analyze test case results across recent runs to identify flaky tests that pass and fail inconsistently, returning a run-by-run trace.
Instructions
Pull this case's result across the last N runs and flag flakiness.
A test is "flaky" if it has BOTH passes and failures in the window AND flips between them at least twice. Returns the run-by-run trace.
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": {
"case_id": "<case_id>"
},
"name": "flaky_test_detector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | ||
| project_id | No | ||
| last_n_runs | No |