test_totp
Verifies a TOTP secret by generating the current code and optionally validates it against a provided 6-digit code.
Instructions
Verify TOTP secret by generating a current code and optionally checking against expected value
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"credentialId": "<credentialId>"
},
"name": "test_totp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialId | Yes | Credential ID with totp_secret in extra fields | |
| expectedCode | No | Optional 6-digit code to verify against |