google_auth
Completes Google OAuth2 authorization when a token is missing or expired, opening a browser for local loopback and PKCE flow and storing tokens only locally.
Instructions
第一次使用/token 失效时,完成 Google OAuth2 授权(打开浏览器,本地 loopback 收 code + PKCE)。授权成功后 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": "google_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | 等待浏览器回调的毫秒数,默认 180000 | |
| manualCode | No | 可选:无 GUI 时,把浏览器地址栏含 ?code=... 的整段 URL 粘进来 |