verify_check
Checks a user-entered verification code against an SMS OTP request, returning validity, status, and remaining attempts so you can confirm or reject the code.
Instructions
Check a verification code the user entered. Returns valid true/false, status (approved, pending, expired, failed, canceled) and attempts left (max 5 attempts per code).
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": {
"code": "<code>"
},
"name": "verify_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Verification id returned by verify_send (preferred). | |
| to | No | Alternatively the phone number; checks the latest code sent to it. | |
| code | Yes | Code entered by the user. |