Get Proton Pass TOTP Code
pass_totpFetch the current two-factor authentication code for a Proton Pass item using its ID. Audit-logged and time-limited.
Instructions
Retrieve the current TOTP/2FA code for a Proton Pass item by ID. Reveals a live second factor — every call is audit-logged. Codes are time-limited; fetch immediately before use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Item ID from pass_list or pass_search | |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The current TOTP code | |
| totp | No | The current TOTP code (alias field, CLI-shape dependent) |