Toggle mock rule
toggle_mock_ruleToggle the enabled state of a mock rule by ID in ProxyKit without altering other fields. Omit the enabled parameter to flip the current value.
Instructions
Enable or disable a mock rule by id without changing any other fields. Omit enabled to flip the current value.
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>"
},
"name": "toggle_mock_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mock rule id. | |
| enabled | No | Desired state. If omitted, the current value is flipped. |