串口日志统计
log_statsRetrieve log storage statistics for one serial connection or all connections, covering entry counts, memory/disk distribution, partition and eviction details, time ranges, and directory paths.
Instructions
查看日志存储统计:各连接的日志总条数、内存/磁盘分布、分区/淘汰信息、时间范围、目录路径;省略 connection_id 则给出全局汇总。
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": "log_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | No | 连接 ID;省略则全查 |