retry_generate_middleware
Generate configurable retry middleware for HTTP clients, specifying service, language, and retry policies to handle transient failures automatically.
Instructions
Generate retry middleware with configurable policies for HTTP clients
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_generate_middleware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| language | Yes | Programming language (e.g. typescript, go, python, java) | |
| max_retries | No | Maximum retry attempts (default 3) | |
| service_name | Yes | Name of the service | |
| retryable_status_codes | No | HTTP status codes to retry on |