send_command
Transmit a command string to a UART serial port terminal session, with the ability to automatically append a newline character to execute the command.
Instructions
向终端发送命令,可选择是否自动添加换行符
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | 会话ID(即串口路径),如 /dev/ttyUSB0 或 COM1 | |
| command | Yes | 要发送的命令内容 | |
| add_line_ending | No | 是否自动添加换行符 |