Retry and Wait
retry_and_waitRetry a failed run and poll until completion or timeout. Inspect timedOut, incomplete, and resultsError fields before continuing.
Instructions
Retry a failed Coalesce run and poll until completion or timeout. Returns a task that can be polled for status.
Requires Snowflake auth via environment variables (Key Pair or PAT).
Args:
runDetails.runID (string, required): The run ID to retry
runDetails.forceIgnoreWorkspaceStatus (boolean, optional): Force retry
parameters (object, optional): Runtime parameters
pollInterval (number, optional): Seconds between checks (default: 10)
timeout (number, optional): Max wait seconds (default: 1800)
Returns: { status, results, resultsError?, incomplete?, timedOut? }
Inspect timedOut, incomplete, and resultsError fields before continuing.
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": {
"runDetails": "<runDetails>"
},
"name": "retry_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait (default: 1800, min: 30, max: 3600) | |
| parameters | No | Arbitrary key-value parameters to pass to the rerun | |
| runDetails | Yes | ||
| pollInterval | No | Seconds between status checks (default: 10, min: 5, max: 300) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| results | No | ||
| timedOut | No | ||
| incomplete | No | ||
| resultsError | No |