Verify OTP code
check_otpVerify a one-time password by matching the user-entered code against the code sent to the recipient's phone or email.
Instructions
Check a one-time password (OTP) the recipient entered against the code that was sent.
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>",
"code": "<code>"
},
"name": "check_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient the OTP was sent to (phone or email). | |
| code | Yes | The code the user entered. |