zen_retry
Retry any browser command with exponential backoff, adjusting max attempts and initial delay, optionally filtering errors to retry on specific conditions.
Instructions
Wrap any command in exponential-backoff retry.
Args: command: A command dict (same shape as zen_batch entries). max_attempts: Total tries including the first. backoff_ms: Initial wait between attempts (doubles each retry). on_errors: Only retry if the error string contains one of these substrings. Default: retry on any error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| max_attempts | No | ||
| backoff_ms | No | ||
| on_errors | No |