Execute Terminal Command
terminal_execExecute one non-interactive command in an idle Bash session without adding it to history; useful for automated terminal checks while preserving manual session control.
Instructions
Execute one non-interactive command through an idle Bash prompt without adding it to Bash history; use terminal_write for raw keys or interactive programs. Never use this at a U-Boot prompt: use terminal_write for U-Boot commands, or terminal_enter_uboot to interrupt a fresh boot countdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | One printable command line; control characters and embedded newlines are rejected. | |
| session_id | Yes | Active Session ID or short reference. | |
| timeout_ms | No | Optional total execution timeout in milliseconds; default 30000, maximum 86400000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exit_code | Yes | ||
| command_id | Yes | ||
| output_end | Yes | ||
| session_id | Yes | ||
| output_start | Yes |