delete_test_case
Deletes a test case via Allure TestOps API, moving it to the trash; use force=true to remove cases with run results and their scenario.
Instructions
Delete a test case; the API answers 202 and moves it to the trash.
Without force a case that has run results may stay; force=true deletes it anyway, together with its scenario. Restoring a case is not exposed as a tool.
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": "delete_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| test_case_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |