Sign in with Google
authenticateStart Google OAuth sign-in to grant Google Docs and Drive access. Returns an authUrl to approve in a browser, enabling document tools without opening the Docs UI.
Instructions
Start the Google OAuth sign-in. Returns an authUrl that the user must open in a browser on the computer running this server to approve access to Google Docs and Drive; the server receives the result automatically on a local loopback address. Show the URL to the user, wait for them to confirm they approved access, then call get_auth_status. If already signed in, nothing happens unless force is true.
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": "authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Start a new sign-in even if valid credentials already exist. | |
| openBrowser | No | Also try to open the sign-in URL in the default browser automatically. |