update_test_case_step
Update a test case step's body and expected result by step ID. If expectedResult is provided, the expected result node is created automatically if missing.
Instructions
Update a test case step by ID. Supports updating body text and/or expectedResult. If expectedResult is provided, the expected result node is created automatically if it does not exist yet.
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": {
"stepId": "<stepId>"
},
"name": "update_test_case_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stepId | Yes | Step ID to update. Must be a number (integer), not a string. | |
| body | No | New step body text. | |
| expectedResult | No | Expected result text for this step. |