gws.accounts.complete
Finalize a pending Google Workspace OAuth flow by providing the pendingId from add or reauth. Poll with waitSeconds (max 3) until status returns complete, or retry if pending.
Instructions
Finalize a pending OAuth flow started by gws.accounts.add or gws.accounts.reauth. Returns quickly; if the user has not yet completed sign-in, responds with status 'pending' and the caller should call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pendingId | Yes | The pendingId returned by add/reauth | |
| waitSeconds | No | Max seconds to wait for completion on this call (default 3, max 3). Poll in short increments rather than holding a single call open. |