verify_code
Confirm user identity by verifying a 6-digit code from email or SMS. Returns valid=true if the code matches and has not expired.
Instructions
Verify a code sent via email or SMS. Returns valid=true if the code is correct and not expired.
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": {
"destination": "<destination>",
"code": "<code>"
},
"name": "verify_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The 6-digit code the user entered | |
| purpose | No | email_verification | |
| destination | Yes | Email or phone the code was sent to |