Read File Tail Lines
fs_read_tailRead the last specified lines of a file to inspect large logs without exceeding read limits. Specify the path and optional line count to view recent entries.
Instructions
读取文件末尾指定行数(适合查看大日志文件,避免超过读取上限)。
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": {
"path": "<path>"
},
"name": "fs_read_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 目标文件路径 | |
| lines | No | 读取末尾行数 |