App Logo
docs.google.com

Google Docs whoami (signed-in account)

Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is signed out, the run fails with a signed-out error that says to sign in to Google Docs and retry.

Input

None

Output

loggedIn required
name optional

The account Google Docs uses when no account is chosen.

email optional

The account Google Docs uses when no account is chosen: the one the Docs scripts act as without an account argument.

accounts optional

Every Google account signed in to this browser, by its index (u/0, u/1, ...). Pass an email as account to the Docs scripts to act as another one.

FAQ

Report which Google account Google Docs/Sheets is signed in as in this browser: display name and email. When the browser is signed out, the run fails with a signed-out error that says to sign in to Google Docs and retry.
Nothing. It takes no input.
It returns name, email, accounts, loggedIn.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It only reads. It looks things up on docs.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/whoami, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/whoami
It is part of Reduck's official curated catalogue.

Start building not clicking