retry_operation
Execute operations with exponential backoff to handle transient failures like API calls or network requests. Configure max retries, initial delay, and operation details.
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 |