send_test_otp
Sends a one-time verification code by SMS or email in test mode to trial login/2FA; unconfirmed recipients stay in the sandbox, and results include test_code when available.
Instructions
Send a one-time verification code (OTP) by SMS or email to a phone number in Israel using Otipi, in test mode. Use this to try the login/2FA flow end to end. With a test key the message really arrives ONLY if the recipient was confirmed with add_test_recipient + confirm_test_recipient; otherwise it is kept in the sandbox log and nothing is delivered. The result says which case happened and includes test_code when available, so you can verify it with verify_otp. Each account has 5 free test SMS for life.
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": {
"to": "<to>",
"app": "<app>"
},
"name": "send_test_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Israeli mobile number in E.164 format +9725XXXXXXXX (05XXXXXXXX is also accepted), or an email address for the email channel. | |
| app | Yes | Brand name shown in the message, for example "MyApp". Max 40 characters. | |
| channel | No | Delivery channel. Default sms. | sms |
| language | No | Message language. Default he (Hebrew). | he |