rift_send_otp
Sends a one-time password to a user's email or phone to verify identity before login, crypto transfer, or offramp authorization. The user must provide the received code to continue.
Instructions
Send a one-time password to user's email or phone. Call this BEFORE: (1) rift_login — to authenticate, (2) rift_send_crypto — to authorize a transaction, (3) rift_offramp — to authorize a withdrawal. The user receives the code via SMS or email and must tell you the code.
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_send_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Send OTP to this email | ||
| phone | No | Send OTP to this phone number (with country code e.g. +254...) |