rift_signup
Create a new Rift Finance account using email or phone with an OTP code, or an externalId with a password. Run this before logging in with the same credentials.
Instructions
Create a new Rift user account. Two ways: (1) email or phone sign-up: FIRST call rift_send_otp for that email/phone, ask the user for the code, then call this with email (or phoneNumber) + displayName + otpCode. Afterwards call rift_login with the SAME otpCode (no new code needed). (2) externalId + password sign-up: no OTP needed. After signup the user still has to log in via rift_login.
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": {
"displayName": "<displayName>"
},
"name": "rift_signup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | User email. For an email sign-up pair it with otpCode | ||
| otpCode | No | OTP from rift_send_otp, sent to the email/phone being registered. Required for email/phone sign-up on servers that enforce it, and always accepted, so send it. Reuse the SAME code for rift_login right after. | |
| password | No | User password (required with externalId) | |
| externalId | No | Unique user ID in your system (externalId + password sign-up) | |
| displayName | Yes | Display name | |
| phoneNumber | No | User phone with country code. For a phone sign-up pair it with otpCode |