rift_add_recovery_method
Adds a verified email or phone recovery method to a user account, requiring external ID and password for verification.
Instructions
Add a new recovery method (email or phone). Requires login + externalId/password for verification.
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": {
"externalId": "<externalId>",
"password": "<password>",
"method": "<method>",
"value": "<value>"
},
"name": "rift_add_recovery_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Email address or phone number | |
| method | Yes | Type of recovery method to add | |
| password | Yes | User password (required by verifyOtp middleware) | |
| externalId | Yes | User external ID |