auth_status
Checks Gmail sign-in status, token storage, granted scopes, and validity, reporting when reauthentication is required due to missing or extra scopes without exposing the token.
Instructions
Gmail sign-in status: where the token is stored, granted scopes (checked at startup), validity.
Reports reauth_required when a scope is missing (an old token without gmail.modify: labels and trash blocked, everything else works) or extra: the user must then sign in again. Never shows the token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | ||
| valid | No | ||
| expiry | No | ||
| scopes | No | ||
| status | Yes | ||
| account | No | ||
| message | No | ||
| present | No | ||
| startup | No | ||
| storage | No | ||
| warning | No | ||
| reauth_required | No |