Check an OTP code
sendkuy_check_verificationValidates a user-entered OTP or verification code against a SendKuy verification ID, returning approved when correct and consuming a check when invalid.
Instructions
Check the code a user typed against a verification from sendkuy_send_verification. status approved means the code was right. A wrong code answers verification_code_invalid and uses up one of checks_remaining.
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": {
"id": "<id>",
"code": "<code>"
},
"name": "sendkuy_check_verification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The verification id, vrf_... | |
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verification | Yes |