Send eSIM login code
request_login_otpStart user login by sending a one-time six-digit code to their email or phone for verification.
Instructions
Start login: ask the eSIM platform to send a six-digit one-time code to the user's email address or phone number. WHEN: the user wants to log in or sign in, or something you are about to do needs a signed-in user and get_login_status reports nobody is signed in. FIRST: ask the user which email address or phone number to use if they have not said yet. Pass exactly one of them, exactly as the user gave it. Never invent, guess or auto-complete an address or number. AFTER SUCCESS: tell the user that a code was sent to the masked destination in the result and ask them to read out the six-digit code, then call verify_login_otp. The user is NOT logged in yet -- do not say login is complete. DO NOT call this tool again for the same login attempt; it is rate limited. If the user says the code never arrived, use resend_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. | |
| otp_channel | No | Delivery channel for the code: 'EMAIL' or 'SMS'. Omit it unless the user asked for a specific channel -- email logins default to EMAIL and phone logins to SMS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||