read_output
Read the accumulated output from a serial terminal session. Provide the session ID (serial port path) and optionally clear the buffer after retrieval.
Instructions
读取终端输出缓冲区的内容
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | 会话ID(即串口路径),如 /dev/ttyUSB0 或 COM1 | |
| clear | No | 读取后是否清空缓冲区 |