App Logo
drive.google.com

Google Drive whoami (signed-in account)

Returns the Google account signed in to Google Drive (email and name). If no Google account is signed in, the run fails with a signed-out error that says to sign in to Drive, so it can be used to check a session before running other Drive scripts.

Input

authuser optional

Which signed-in Google account to use, by its email address or its index (0 for the first). Omit for Google's default account.

Output

loggedIn required
name optional
email optional

FAQ

Returns the Google account signed in to Google Drive (email and name). If no Google account is signed in, the run fails with a signed-out error that says to sign in to Drive, so it can be used to check a session before running other Drive scripts.
Optional: authuser.
It returns name, email, loggedIn.
Yes. It acts as you on drive.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the drive.google.com cookies saved by the Reduck extension.
It only reads. It looks things up on drive.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/whoami, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/whoami
It is part of Reduck's official curated catalogue.

Start building not clicking