test_cases_unarchive
Restores an archived test case to a specified folder, reverting its status to the pre-archive state or to 'FINISHED' if no previous status is recorded.
Instructions
Unarchive test case
Tag: Test Cases
Restores an archived test case (statusId === ARCHIVED) into the folder specified by folderId. The status returns to whatever it was before archiving (statusBeforeId); when no previous status is recorded the test case falls back to FINISHED.
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": {
"id": "<id>",
"folderId": "<folderId>"
},
"name": "test_cases_unarchive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test Case ID | |
| folderId | Yes | Target folder. Must belong to the same project as the test case and must not be a trash folder. |