browser_totp_generate
Generate a time-based one-time password from a base32 shared secret for two-factor authentication. No browser required; uses secret key from authenticator app setup.
Instructions
Generate a TOTP (time-based one-time password) from a base32 shared secret.
No browser or session needed — this is a pure computation tool.
Use it when a site uses an authenticator app (Google Authenticator, Authy, etc.)
as the second factor. The secret is the base32 string shown during 2FA setup
(usually labeled 'secret key' or encoded in the QR code's otpauth:// URI).
digits: code length (default 6). interval: time step in seconds (default 30).
Returns the current 6-digit (or N-digit) TOTP code as a string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | ||
| digits | No | ||
| interval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |