validateNewUser
Confirm the emailed OTP and code reference to complete signup, optionally secure the account with a password, and get the new API key.
Instructions
Validate the emailed OTP + code ref and fully create the account. Optionally set a password so the user can log in. Returns the new API key.
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": {
"ref": "<ref>",
"otp": "<otp>"
},
"name": "validateNewUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otp | Yes | 6-digit OTP from the email | |
| ref | Yes | 8-char code reference from the email | |
| password | No | Optional password (min 6 chars) so the user can log in |