Update test case
update_test_caseUpdate an existing test case's fields (title, folder, template, lifecycle state, estimate, tags). Requires project and case id. displayValue is a TEXT field's plain text, with an image shown as [image: file name]. value is the stored value (plain text or a rich-text document) and is what update_test_case accepts; displayValue is not accepted back, and plain text sent to a field with images is refused (FIELD_IMAGES_WOULD_BE_REMOVED).
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": {
"project": "<project>",
"caseId": "<caseId>"
},
"name": "update_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title. | |
| caseId | Yes | Id of the test case to update. | |
| folder | No | New folder id. | |
| tagIds | No | Replacement tag ids. | |
| project | Yes | Project id the case belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted. | |
| estimate | No | New estimate. | |
| templateId | No | New template id. | |
| fieldValues | No | Custom field values (e.g. priority, steps). Discover field ids/types/options with get_fields. Each item is { fieldId, value } where value is the field's JSON value (a string for selects like priority; a structured value for STEPS fields, e.g. [{"step_1":"Do X","step_3":"Expect Y"}]). Rich-text fields take plain text or a tiptap document ({type:"tiptap",version:1,doc:{type:"doc",content:[...]}}); valueHtml is optional and is rendered from the document when omitted. Each value must fit its field type (INTEGER a whole number, FLOAT a number, DATE "YYYY-MM-DD", CHECKBOX true/false, DROPDOWN one option value or label, MULTI_SELECT an array of them); a value that does not fit is refused with a tool error naming the field. On update this is a patch: fields you omit keep their current value; send { fieldId, value: null } to clear one. | |
| lifecycleStateId | No | New lifecycle state id. |