Verify eSIM login code
verify_login_otpVerify the six-digit OTP code received via email or SMS to finish logging in and activate the user's eSIM session.
Instructions
Finish login: verify the six-digit code the user received and open their eSIM session. WHEN: the user has given you a six-digit code for a login you started with request_login_otp. Pass that code together with the same email or phone the code was sent to. AFTER SUCCESS (status 'authenticated'): tell the user they are signed in. The session is kept on this server for this client; you never see, need or handle any token. DO NOT ask the user for an access token, a refresh token or a password, and do not retry a rejected code by yourself -- ask the user to re-read it, or to ask for a new one.
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": {
"verification_pin": "<verification_pin>"
},
"name": "verify_login_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The user's email address, exactly as they gave it. Ask the user for it if you do not have it yet; never invent, guess or auto-complete an address. | ||
| phone | No | The user's phone number in international format, for example +CCXXXXXXXXX, exactly as they gave it. Never invent or guess a number. | |
| locale | No | Optional language tag for platform messages, e.g. 'en'. Omit to use the server default. | |
| currency | No | Optional ISO-4217 currency code, e.g. 'USD'. Omit to use the server default. | |
| verification_pin | Yes | The six-digit code the user read out from their email or SMS. Digits only. Never guess it, and never ask the user for any other credential or token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||