cb_generate_pattern
Generate a circuit breaker implementation to protect service-to-service calls. Specify calling service, target service, and language to receive ready-to-use code.
Instructions
Generate a circuit breaker implementation for service-to-service communication
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>",
"target_service": "<target_service>",
"language": "<language>"
},
"name": "cb_generate_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| language | Yes | Programming language (e.g. typescript, go, python, java) | |
| service_name | Yes | Name of the calling service | |
| target_service | Yes | Name of the target service to protect |