tool_totp
Generate time-based one-time passwords (TOTP) from a secret key, with configurable digits and period. Returns the current code and remaining validity time.
Instructions
[utility] TOTP
Parameters:
secret (string): Secret
digits (number): Digits
period (number): Period
Outputs:
code (string): Code
remaining (number): Remaining
counter (number): Counter
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code | |
| digits | No | Digits | |
| period | No | Period | |
| secret | No | Secret | |
| counter | No | Counter | |
| remaining | No | Remaining |