get_totp
Fetch the current time-based one-time password (TOTP) code for any item with two-factor authentication configured.
Instructions
Get the current TOTP one-time code for an item that has 2FA configured.
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": {
"item_id": "<item_id>",
"vault_id": "<vault_id>"
},
"name": "get_totp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Item ID | |
| vault_id | Yes | Vault share ID |