delete_mock
Delete a specified mock file from the Mockery server and remove empty parent folders; in Git mode, the deletion is committed and pushed automatically.
Instructions
Delete a mock file from the Mockery server. Also cleans up empty parent folders. In Git mode, the deletion is automatically committed and pushed.
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": {
"path": "<path>"
},
"name": "delete_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the mock file to delete (e.g., "weather/prod/success.json"). |