verify_send
Send a one-time SMS verification code for login, registration, or payment confirmation. Generates and stores the OTP, then returns a verification ID.
Instructions
Send a one-time verification code (OTP) by SMS for login, registration or payment confirmation. TopSMS generates and stores the code; returns a verification id. Limits: 5 codes per number per hour, 30 s between codes.
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>"
},
"name": "verify_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in international format, e.g. +420601234567 (Czech numbers without prefix are accepted). | |
| ttl | No | Validity in seconds, 60-1800 (default 300). | |
| from | No | Approved Sender ID (max 11 chars). Omit to use the default sender "TopSMS". | |
| brand | No | Your app or company name shown in the SMS ("MyShop: your verification code is ..."). | |
| length | No | Code length 4-8 digits (default 6). | |
| locale | No | SMS language (default cs). |