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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tool_totp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code | |
| digits | No | Digits | |
| period | No | Period | |
| secret | No | Secret | |
| counter | No | Counter | |
| remaining | No | Remaining |