verify_code
Validates a 6-digit code sent to an email or phone, returning success 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.
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 |