update_test_case
Update an existing test case by merging only the fields you provide, leaving other values unchanged. Fetches current state first to apply partial edits safely.
Instructions
Update an existing test case (merge update — fetches current state first, only provided fields are changed)
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": {
"testCaseId": "<testCaseId>"
},
"name": "update_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| type | No | New type | |
| steps | No | New steps | |
| status | No | New status | |
| tagIds | No | New tag IDs | |
| priority | No | New priority | |
| categoryId | No | New category ID | |
| testCaseId | Yes | Test case ID to update | |
| description | No | New description | |
| precondition | No | New precondition | |
| expectedResult | No | New expected result |