rift_login_google
Authenticate or create a Rift Finance account using a Google ID token, then access all authenticated tools. Obtain the token from the user's Google identity flow before calling.
Instructions
Sign in (or sign up on first use) with a Google ID token. The frontend obtains the idToken from Google's identity flow — for example, the credential from Google One-Tap, or an ID token from useGoogleLogin({ flow: 'implicit' }) exchanged via Google's OAuth2 endpoint. NOT something the agent can produce on its own — ask the user / client for the idToken. Once an account is bound to Google, password/OTP login is rejected for that account; the user must keep using Google. After this call, all authenticated tools work.
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": {
"idToken": "<idToken>"
},
"name": "rift_login_google"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idToken | Yes | Google ID token (JWT) obtained on the frontend from Google's identity flow | |
| referrer | No | Optional referral code — propagated to the new user only on first sign-in (account creation) |