Get Flake Verdict
get_flake_verdictDetermine whether a failing test behaves the same way every time by comparing its retry attempts within one run — returns a deterministic, flaky, or inconclusive verdict with per-attempt signatures.
Instructions
Say whether a failing test behaves the same way every time, by comparing its retry attempts within one run. If you are debugging a failing test, call get_debug_evidence first — it returns this plus the regression boundary and the artifact links in one call, so calling this separately afterwards repeats work already done. Returns a computed verdict — "deterministic" (every attempt failed with the same signature, so the failure repeats), "flaky" (an attempt passed on retry, so the outcome is not consistent), or "inconclusive" (too few attempts, or the attempts failed differently) — plus the per-attempt signatures behind it. The verdict describes the behaviour, not the cause. It tells you which fixes the evidence cannot support; it does not tell you where the fix goes. Decide that after reading the artifacts, the trace and the code. Needs a test that ran with retries enabled; a single attempt is always inconclusive.
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": {
"projectId": "<projectId>",
"testcase_id": "<testcase_id>"
},
"name": "get_flake_verdict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID (e.g. project_<id>) | |
| testrun_id | No | Run scope. Omit to use the most recently started run carrying this case. | |
| testcase_id | Yes | Playwright pw_test_id of the failing case |