agent_retrybudget
Is re-attempting THIS failure rational? Closed retry taxonomy (transient -> REPEAT, fixable -> MUTATE, terminal -> ABORT), identical-hash ceiling (the 1840-identical-retries story), session token budget, provider Retry-After honored, deterministic 1-2-4 backoff capped at 64s — never a LM guessing. Verdict + named reason + guidance; retryable travels as a machine field. Free.
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": {
"error_class": "<error_class>",
"attempt": "<attempt>"
},
"name": "agent_retrybudget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attempt | Yes | ||
| retry_max | No | ||
| idempotent | No | ||
| error_class | Yes | ||
| payload_hash | No | ||
| budget_tokens | No | ||
| est_cost_tokens | No | ||
| same_hash_count | No | ||
| retry_after_seconds | No |