sessions_get
Read a specified session log, returning the last 200 lines by default to bypass stale pre-reset data, then pass the full contents to log analysis.
Instructions
读取指定会话日志的内容(文件名来自 sessions_list)。 默认显示尾部 200 行(日志开头常是复位前旧数据)。整段内容可直接喂 analyze_log。
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": {
"fname": "<fname>"
},
"name": "sessions_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fname | Yes | ||
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |