verify_otp
Verify a previously sent one-time password by submitting the recipient’s phone number, received code, and site URL to confirm OTP validity.
Instructions
Verify a previously sent OTP using the recipient’s phone number and 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": {
"phone": "<phone>",
"code": "<code>",
"site_url": "<site_url>"
},
"name": "verify_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The OTP code received by the user. | |
| phone | Yes | International phone number in digits. | |
| site_url | Yes | URL of the app or site this OTP is for, e.g. https://myapp.com. Required by the OTP API so every key has a known site. |