update_case
Modify existing test cases in TestRail by updating fields like title, priority, steps, or expected results to maintain accurate testing documentation.
Instructions
Update an existing test case
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": {
"case_id": "<case_id>"
},
"name": "update_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | Case ID | |
| title | No | Test case title (optional) | |
| template_id | No | Template ID (optional) | |
| type_id | No | Test case type ID (optional) | |
| priority_id | No | Priority ID (optional) | |
| estimate | No | Time estimate (optional) | |
| refs | No | References (optional) | |
| custom_preconds | No | Preconditions (optional) | |
| custom_steps | No | Test steps (optional) | |
| custom_expected | No | Expected result (optional) | |
| custom_steps_separated | No | Separated test steps (optional). Array of step objects with content/expected or shared_step_id |