alloydb-wait-for-operation

Wait for a long-running AlloyDB operation to complete.

The alloydb-wait-for-operation tool is a utility tool that waits for a long-running AlloyDB operation to complete. It does this by polling the AlloyDB Admin API operation status endpoint until the operation is finished, using exponential backoff.

Info

This tool is intended for developer assistant workflows with human-in-the-loop and shouldn’t be used for production agents.

Info

This tool does not have a source and authenticates using the environment’s Application Default Credentials.

Example

tools:
  alloydb-operations-get:
    kind: alloydb-wait-for-operation
    description: "This will poll on operations API until the operation is done. For checking operation status we need projectId, locationID and operationId. Once instance is created give follow up steps on how to use the variables to bring data plane MCP server up in local and remote setup."
    delay: 1s
    maxDelay: 4m
    multiplier: 2
    maxRetries: 10

Reference

fieldtyperequireddescription
kindstringtrueMust be “alloydb-wait-for-operation”.
descriptionstringtrueA description of the tool.
delaydurationfalseThe initial delay between polling requests (e.g., 3s). Defaults to 3 seconds.
maxDelaydurationfalseThe maximum delay between polling requests (e.g., 4m). Defaults to 4 minutes.
multiplierfloatfalseThe multiplier for the polling delay. The delay is multiplied by this value after each request. Defaults to 2.0.
maxRetriesintfalseThe maximum number of polling attempts before giving up. Defaults to 10.