tail_logs
Retrieve the last N lines from a log file to inspect recent entries for troubleshooting and monitoring.
Instructions
Return the last N lines of a log file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Log file path or name | |
| lines | No | Number of lines to return (default 20) |