retry_operation
Automatically retries failed operations with exponential backoff, ideal for transient issues in API calls, network requests, or database queries. Configurable retries and delays ensure robust error handling.
Instructions
Retry an operation with exponential backoff. Use this for operations that might fail temporarily (API calls, network requests, etc.)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
initial_delay_ms | No | ||
max_retries | No | ||
operation_data | Yes | Data specific to the operation (e.g., URL for HTTP, query for DB) | |
operation_id | Yes | Unique identifier for this operation (used for tracking retries) | |
operation_type | Yes | Type of operation being retried | |
should_execute | No | If false, just returns retry metadata without executing |