retry_add_circuit_breaker
Add a circuit breaker with failure threshold and reset timeout to retry policies, preventing cascading failures in service communication.
Instructions
Combine retry policies with circuit breaker for resilient communication (Pro)
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": {
"service_name": "<service_name>",
"language": "<language>"
},
"name": "retry_add_circuit_breaker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| language | Yes | Programming language | |
| service_name | Yes | Name of the service | |
| reset_timeout_ms | No | Circuit breaker reset timeout in ms (default 30000) | |
| failure_threshold | No | Circuit breaker failure threshold (default 5) |