gmail_auth_status
Verify Gmail OAuth2 credentials are configured and report the granted scope (readonly vs. modify) without calling the Gmail API or exposing secrets. Confirm auth status.
Instructions
Report whether Gmail OAuth2 credentials are configured (GMAIL_CLIENT_ID/GMAIL_CLIENT_SECRET/refresh token present) and which scope was granted at login (readonly vs. modify). Returns presence flags and the granted scope only — NEVER the client secret, refresh token, or access token. Unlike the CLI omni-dev gmail auth status, this tool does not call the Gmail API and cannot confirm the refresh token is still accepted (a testing-mode Google Cloud project's refresh tokens expire after 7 days — use the CLI status command to actually verify). Read-only. Mirrors omni-dev gmail auth status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Selects a named Gmail account instead of the ambient `--account`/`OMNI_DEV_GMAIL_ACCOUNT` resolution — e.g. `work`. Omit to use the resolved default account (or the legacy single-account credentials, if no named accounts are configured). Call `gmail_account_list` to discover configured names. |