get_totp
Retrieve the current 2FA/TOTP code and remaining seconds for a stored credential, so an agent can complete a login without accessing the secret.
Instructions
Current 2FA/TOTP code for a credential that has a totp_secret (plus seconds remaining).
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": {
"ref": "<ref>"
},
"name": "get_totp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| purpose | No |