Observe asynchronous completion
waitPoll exactly one durable operation, cluster generation, backup, or restore until its terminal state; set a timeout to stop observation without cancelling the underlying work.
Instructions
Poll exactly one durable operation, cluster generation, backup or restore until its terminal state is observed. A timeout stops observation without cancelling the underlying work.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | Backup name returned by the target cluster's backup listing. | |
| cluster | No | Cluster name returned by cluster listing; required for generations, backups and restores. | |
| restore | No | Restore name returned by the target cluster's restore listing. | |
| timeout | No | Maximum seconds to wait; expiry does not cancel the underlying work. | |
| namespace | No | Namespace containing the target cluster; omit for the default namespace. | |
| operation | No | Durable operation ID returned by a mutation or operation listing. | |
| generation | No | Desired cluster generation to observe, taken from the cluster mutation response. |