xray_import_xray_json
Import Xray JSON test results into Xray Cloud by passing full JSON content as a string, with optional execution metadata for summary, description, and version.
Instructions
Import test results in Xray JSON format. Pass the full JSON content as a string. Supports optional testExecInfo for execution-level metadata (summary, description, version). Use this tool to push Xray-native JSON test results into Xray Cloud.
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": {
"content": "<content>"
},
"name": "xray_import_xray_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| content | Yes | Xray JSON format test results as a string. Pass the complete JSON content. | |
| projectKey | No | Jira project key | |
| testExecKey | No | Existing test execution key to update | |
| testPlanKey | No | Test plan key to associate results with | |
| testExecInfo | No | Test execution metadata for multipart mode. When provided, import uses multipart/form-data to include execution-level fields (summary, description, version, etc.) that are not available in simple mode. |