Start Google sign-in
auth_startBegin Google OAuth sign-in to connect your Drive. Opens consent page in browser, waits for approval, then returns completed or pending status for further waiting.
Instructions
Begin the OAuth sign-in. Opens the Google consent page in the user's browser (loopback redirect on 127.0.0.1) and waits up to wait_seconds (default 90) for the user to finish; if they do, the result is state: completed and no further call is needed. Otherwise state: pending — call auth_status (with wait_seconds) to keep waiting. Requires an OAuth client (see status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open_browser | No | Default true. Set false to only return the URL. | |
| wait_seconds | No | Seconds to wait for the sign-in to finish before returning (default 90, 0 = return immediately). |