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.
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": {
"command": "<command>"
},
"name": "zen_retry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| max_attempts | No | ||
| backoff_ms | No | ||
| on_errors | No |