xray_update_test_run_step
Updates an Xray test run step's status, comment, evidence, and linked defects in one call, so you can record execution results without separate requests.
Instructions
Perform a full update of a test run step via UpdateTestRunStepInput: status, comment, evidence, and defects in one call.
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>",
"stepId": "<stepId>"
},
"name": "xray_update_test_run_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format: toon (compact, default), json (full), summary (one-line) | toon |
| stepId | Yes | The internal Xray step ID within the run | |
| testRunId | Yes | The internal Xray test run ID | |
| updateData | No | Update data for the step (status, comment, evidence, defects) | |
| iterationRank | No | Rank of the iteration to update (for parameterized tests) |