Tail Log File
tail_fileRead the last lines of a Linux log file to inspect recent events, with optional line count and path restricted to allowed directories.
Instructions
Tail a log file. Path must start with an allowed prefix (default: /var/log).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to log file | |
| lines | No | Number of lines to return |