Export Test Run
export_test_runExport a test run as a report in JSON, HTML, or JUnit XML format. Use JUnit for CI systems that consume XML.
Instructions
Export a test run as a report. format 'json' (default), 'html' or 'junit' — use junit for CI systems that consume JUnit XML. Returns the report content inline. Requires project context.
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": {
"testRunId": "<testRunId>"
},
"name": "export_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Report format: 'json' (default), 'html' or 'junit' | json |
| testRunId | Yes | Public Id (Guid) of the test run |