read_log_range
Read a specific range of lines from a log file with token-based pagination to manage AI context limits.
Instructions
Reads a specific range of lines from a log file. Uses token-based pagination to respect AI context limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | Ending line number (1-based, inclusive). If not specified, reads to end of file or token limit. | |
| filename | Yes | Name of the log file to read | |
| max_tokens | No | Maximum tokens to return (default: 4000, max: 100000). Uses ~4 chars per token estimation. | |
| start_line | No | Starting line number (1-based, inclusive) |