read_log_tail
Read the end of a log file to inspect recent errors or events, even in very large files. Specify a file path and line count (default 100, max 5000).
Instructions
读取日志文件末尾指定行数(适合查看最新报错,对超大文件同样高效)。
Args: file_path: 日志文件绝对路径。 lines: 要读取的行数,默认 100,最大 5000。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |