verify_2fa
Submit a verification code for a 2FA session to complete authentication. Use the session ID and code to finish the challenge; attempts are rate limited.
Instructions
Submit a verification code to complete a 2FA challenge. Rate limited to 10 attempts per minute.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, or sign in with start_login — a session opens this tool — then call this tool again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Verification code | |
| session_id | Yes | 2FA session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| verified_at | Yes | ||
| grant_expires_at | Yes | When the grant this step-up stored stops being accepted | |
| grant_single_use | Yes | Whether the grant is spent by the first act it allows |