xray_import_robot
Imports Robot Framework output.xml test results into Xray Cloud by reading the full XML content and optional execution metadata, so automated test runs are pushed to Jira test executions or test plans.
Instructions
Import Robot Framework XML test results. Read the Robot Framework output.xml file and pass the full content here. Optionally provide testExecInfo for execution-level metadata (summary, description, version). Use this tool to push Robot Framework 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_robot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| content | Yes | Robot Framework XML content as a string | |
| 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. |