Enter a 2FA code without seeing it
submit_2fa_codeComplete two-factor authentication by prompting a human to enter the one-time code on a secure localhost page; the server submits it and returns status without exposing the code to the AI.
Instructions
Complete a two-factor challenge raised by authenticate_login, without the AI ever seeing the code. The human types the current one-time code into a localhost secure page; the server fills the auto-detected code field, submits, and returns ONLY a status: success (then manage_session action=save), error, or unknown. Acts on the page authenticate_login left behind and never navigates. Blocks until answered or 180s elapse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | "prompt" (default) asks the human; "totp" generates it from the seed in the vault (unattended). The AI never sees the code. | prompt |
| profile | No | Short name for the account, e.g. "github". Not a secret — it labels the secure prompt and selects a stored credential. | |
| codeSelector | No | Selector for the one-time-code input. Auto-detected when omitted; pass it explicitly if the page state came back unknown. | |
| submitSelector | No | Selector for the submit button. Auto-detected when omitted. |