Get TOTP
keychain_get_totpRetrieve the current TOTP code for a vault item by search term, with optional reveal control and automatic redaction when required.
Instructions
Get the current TOTP code by search term (bw get totp). The value is null unless reveal=true, and NOREVEAL or KEYCHAIN_NOREVEAL can still force redaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Search term or exact item id used for bw get totp. | |
| reveal | No | Whether secret values are returned; default false and can be forced false by NOREVEAL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |