retry_operation
Retry potentially failing operations like API calls or network requests with exponential backoff. Configure max retries, initial delay, and operation details. Optionally preview retry metadata without execution.
Instructions
Retry an operation with exponential backoff. Use this for operations that might fail temporarily (API calls, network requests, etc.)
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": {
"operation_id": "<operation_id>",
"operation_type": "<operation_type>",
"operation_data": "<operation_data>"
},
"name": "retry_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes | Unique identifier for this operation (used for tracking retries) | |
| operation_type | Yes | Type of operation being retried | |
| operation_data | Yes | Data specific to the operation (e.g., URL for HTTP, query for DB) | |
| max_retries | No | ||
| initial_delay_ms | No | ||
| should_execute | No | If false, just returns retry metadata without executing |