Get Current User
get_current_userConfirm which Google account the server acts on and check granted scopes to diagnose permission errors or missing Tasks access.
Instructions
Return profile claims and granted scopes for the authenticated user.
Call this to confirm which Google account the tools act on, or to diagnose a permission error (check that a Tasks scope is granted). In single-user token mode the profile comes from Google's userinfo endpoint and the scope list is empty. Fails if no Google credential is available; the user must sign in again or fix the server's token configuration.
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": "get_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub | No | ||
| name | No | ||
| No | |||
| scopes | No |