yapi_delete_mock_case
Remove a mock expectation by its case ID to clean up outdated or incorrect mock rules in YApi, keeping mock APIs accurate for testing.
Instructions
删除一条 Mock 期望。
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": {
"caseId": "<caseId>"
},
"name": "yapi_delete_mock_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | ||
| projectId | No |