serial_flush
Clear pending input and output data from serial buffers to reset communication state.
Instructions
Flush serial buffers (clear pending input/output data).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>"
},
"name": "serial_flush"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Flush input buffer (default: true) | |
| output | No | Flush output buffer (default: true) | |
| connection_id | Yes | Connection ID from serial_connect |