otp_verify_sms
Verify an OTP code sent via SMS to authenticate a user. Provide the request ID, phone number, and code to check validity.
Instructions
Verify an OTP code that was sent via SMS. :param request_id: The requestId returned from sending the OTP. :param phone_number: The phone number the OTP was sent to. :param code: The code input by the user to check.
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": {
"request_id": "<request_id>",
"phone_number": "<phone_number>",
"code": "<code>"
},
"name": "otp_verify_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code input by the user to check. | |
| request_id | Yes | The requestId returned from sending the OTP. | |
| phone_number | Yes | The phone number the OTP was sent to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||