read_log_head
Read the first specified lines of a local log file to inspect startup parameters and initial startup logs during troubleshooting.
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 |