update_test_case
Update specific fields of an existing test case by sending only the arguments you pass; use clear=true to empty a field instead of leaving it unchanged.
Instructions
Update fields of a test case; only the arguments you pass are sent.
An empty string means "leave the field alone" unless clear=true, where an empty string clears the field. JSON-string arguments are the same as in create_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": {
"test_case_id": "<test_case_id>"
},
"name": "update_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| clear | No | ||
| duration | No | ||
| automated | No | ||
| status_id | No | ||
| tags_json | No | ||
| links_json | No | ||
| description | No | ||
| workflow_id | No | ||
| members_json | No | ||
| precondition | No | ||
| test_case_id | Yes | ||
| postcondition | No | ||
| scenario_json | No | ||
| test_layer_id | No | ||
| expected_result | No | ||
| custom_fields_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |