retry_policy
Compute exponential backoff schedules with jitter, worst-case waits, and deadline fit, then use idempotency and circuit-breaker guidance to design reliable retries.
Instructions
Compute an exponential backoff schedule with jitter, the worst-case wait and whether it fits a deadline; adds idempotency and circuit-breaker guidance.
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": {
"operationIdempotent": "<operationIdempotent>"
},
"name": "retry_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capMs | No | ||
| factor | No | ||
| jitter | No | full | |
| deadlineMs | No | ||
| baseDelayMs | No | ||
| maxAttempts | No | ||
| operationIdempotent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| inputs | No | ||
| sources | No | ||
| guidance | No | ||
| validated | No | ||
| limitation | No | ||
| worstCaseWaitMs | No | ||
| attemptsThatFitDeadline | No | ||
| retriesAfterFirstAttempt | No |