rift_login
Authenticate with Rift Finance using email/phone OTP or external ID/password, then store the session so subsequent authenticated tool calls work without logging in again.
Instructions
Login to Rift. Stores the session so all authenticated tools work. Three methods: (1) email + otpCode — call rift_send_otp first, (2) phoneNumber + otpCode — call rift_send_otp first, (3) externalId + password — no OTP needed. After login, you do NOT need to login again for subsequent tool calls in this session.
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": "rift_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email (pair with otpCode) | ||
| otpCode | No | OTP code from rift_send_otp | |
| password | No | Password (pair with externalId) | |
| externalId | No | External ID (pair with password) | |
| phoneNumber | No | Phone (pair with otpCode) |