haops_report_test_run
Report test results to HAOps by creating a TestRun with individual TestResult records, enabling manual result submission for agents.
Instructions
Report test results to HAOps. Creates a TestRun with individual TestResult records. Used by agents to manually report results (Jest/Playwright reporters do this automatically).
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": {
"projectSlug": "<projectSlug>",
"runner": "<runner>",
"summary": "<summary>",
"results": "<results>"
},
"name": "haops_report_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch name (optional) | |
| runner | Yes | Test runner that produced results | |
| results | Yes | Individual test results | |
| summary | Yes | Summary counts | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| coverage | No | Coverage percentages (optional) | |
| commitSha | No | Git commit SHA (optional) | |
| environment | No | Environment where tests ran (optional) | |
| projectSlug | Yes | The project slug (URL identifier) |