manage_circuit_breaker
Trip or reset chaos circuit breakers in mockd to control fault injection during API testing. Specify the circuit breaker key and action to manage fault states.
Instructions
Manually trip or reset a chaos circuit breaker by its state key. Circuit breaker keys follow the format "ruleIdx:faultIdx" (e.g., "0:0" for the first fault in the first rule). Use get_stateful_faults to discover active circuit breaker keys.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on the circuit breaker | |
| key | Yes | Circuit breaker state key (e.g., "0:0") |