check_account_scopes
Check the OAuth scopes granted on a connected Gmail account, returning granted scopes, write/modify status, and whether reauthorization is needed.
Instructions
Report the OAuth scopes currently granted on a connected account. Returns {granted_scopes[], has_write_scope, has_modify_scope, needs_reauth}. If needs_reauth, reconnect to grant compose/modify.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>"
},
"name": "check_account_scopes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | A connected account ref (see list_accounts). |