send_password
Submit a password to a terminal session with echo off and log suppression, then drain output until idle.
Instructions
Send a password plus newline.
Requires an existing session created via create_session(session_id, cwd).
Security model:
Forces terminal echo off for this send operation (
echo=False).Disables transcript logging for this send operation (
log=False).Returns the PTY bytes consumed during this call with best-effort password redaction, prefixed by
[password sent].
After sending password + "\n", this drains newly produced PTY bytes until
the PTY is silent for PILOTY_QUIESCENCE_MS (default 1000ms) or until
deadline_s expires.
deadline_s must be at most 300 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| deadline_s | No | Total wall-clock budget in seconds. Must be between 0 and 300. | |
| session_id | Yes |