Authenticate with OTP
auth_with_otpComplete OTP authentication by verifying the provided one-time code against the otpId returned from request_otp.
Instructions
Complete OTP authentication using the otpId (from request_otp) and the code the user received.
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": {
"otpId": "<otpId>",
"code": "<code>"
},
"name": "auth_with_otp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The one-time code received by the user. | |
| otpId | Yes | The otpId returned by request_otp. | |
| collection | No | Auth collection (default 'users'). |