tail_file
Read the last lines of a text file, with optional case-insensitive substring filtering, to monitor logs and track recent changes.
Instructions
Tail the last N lines of any text file, optionally filtered by substring. Caps reads at 50 MB and accepts up to 5000 lines. Requires allow_file_read in ~/.syscontrol/config.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or ~-prefixed file path. | |
| lines | No | ||
| filter_str | No | Optional case-insensitive substring filter. |