send_secret
Prompt the user for a secret via a GUI dialog and send it directly to the PTY session, bypassing AI context and logs. Use when the session is waiting for password input (e.g., SSH, sudo, getpass).
Instructions
Prompt the human user to type a secret (password/passphrase) directly into a GUI dialog. The value is sent to the PTY session without ever appearing in AI context or logs. IMPORTANT: only call this when the session is actively waiting for a password input (echo is off) — e.g. an SSH/sudo/getpass prompt. Do NOT call this on an idle shell prompt. If prepare_secret was called earlier for this session, uses the buffered secret without showing a dialog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Prompt shown to the user (default: "Enter secret: ") | |
| session_id | Yes |