google_add_account
Add a Google account via OAuth by generating an authorization URL for the user. After approval, complete via google_check_pending_auth with chosen permission tiers.
Instructions
Add a new Google account via OAuth. Returns an authorization URL that you must show to the user. The user opens this URL in their browser to authorize. After authorization, use google_check_pending_auth to complete the process. Tiers: mail_readonly (default), mail_compose, mail_full, mail_settings, drive_readonly, drive_full, calendar_readonly, calendar_full, or all.
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": "google_add_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopeTier | No | Single permission tier (use scopeTiers for multiple) | |
| scopeTiers | No | Combine multiple tiers (e.g., ["mail_full", "drive_readonly"]) |