Write Raw Terminal Input
terminal_writeSends raw UTF-8, hex, or base64 bytes to an active serial or SSH session for keypresses and interactive program input without adding a line ending.
Instructions
Write raw UTF-8, hexadecimal, or base64 bytes for keys or interactive programs; shell lines follow target history, so use terminal_exec at an idle Bash prompt. Use this for authorized commands at a verified idle U-Boot prompt; use terminal_enter_uboot for countdown interruption. Do not send an empty Enter merely to probe U-Boot: it may repeat the previous command. For files/ELFs use CLI channelterm file send/receive with --session and the owning --endpoint, then terminal_wait_file_transfer. Do not construct Base64/heredoc uploads with this tool. Run the CLI where the local file and Host are accessible; if unavailable, report the limitation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Payload to send without adding a line ending; decoded payload must not exceed 1 MiB. | |
| actor | No | Internal operation source: user, agent, or system. | |
| encoding | No | Payload representation: utf8 (default), hex, or base64. | |
| session_id | Yes | Active Session ID or short reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes_written | Yes |