Analyze test reports
analyze_reportsRun the Flakeprint detector on test report files you pass as text (JUnit XML, CTRF, go test -json, TRX, NUnit, xUnit, TestNG, Cucumber, Robot, Mocha JSON). To detect same-commit FAIL→PASS flips, pass the reports of each attempt of the same commit with attempt: 1, 2, … (e.g. the failed run and its re-run). With a repo, the recorded history of that repo is used too. Nothing is stored.
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": {
"reports": "<reports>"
},
"name": "analyze_reports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | Commit SHA the reports belong to | |
| repo | No | owner/name to compare against its mirrored history (optional) | |
| reports | Yes | ||
| useHistory | No | Compare against the repo history (default true when repo is given) |