Ingest JUnit report
ingest_junit_reportLoad a JUnit XML report into test history to track CI results from pytest, Playwright, Cypress, Jest, JUnit, or TestNG, and skip duplicate imports.
Instructions
Load one JUnit XML report into the history. Works with pytest, Playwright, Cypress, Jest, JUnit, TestNG. Branch/commit/job default to the report's . Ingesting the same file twice does nothing.
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": {
"path": "<path>"
},
"name": "ingest_junit_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the reports folder, e.g. nightly-030.xml | |
| branch | No | Git branch, e.g. main | |
| ci_job | No | ||
| commit_sha | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| errors | Yes | ||
| failed | Yes | ||
| passed | Yes | ||
| run_id | Yes | ||
| skipped | Yes | ||
| duplicate | Yes |