session_stats
Retrieves live counters for open serial connections—port, framing, buffered/dropped bytes, RX/TX totals, capture status, and errors—so you can monitor health; pass session_id for one or omit for all.
Instructions
Live counters for open sessions: port, framing, opened_ms, buffered/dropped bytes, chunks seen, rx/tx byte totals, last_rx_ms, the transport settings the port was opened with, the active capture (path and live counters), and the session error when the port died. Pass session_id for one session; default is all.
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": "session_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |