serial_clear_buffer
Clear buffered serial data and reset the read cursor for a specified port while preserving log files.
Instructions
Drop buffered lines and reset the read cursor; log files are kept.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "serial_clear_buffer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port name, e.g. COM5 or /dev/ttyUSB0 |