whistle_mock_apply
Enable or disable a specific mock rule by name. Toggle it on or off to control API mocking during debugging.
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": {
"ruleName": "<ruleName>"
},
"name": "whistle_mock_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | true=启用,false=禁用 | |
| ruleName | Yes | 规则名称 |