read_file
Reads file content from a remote server. Supports reading specific line ranges or tailing log files.
Instructions
Read a file or specific line range from a remote server. For large files (>200 lines), always use lines+offset to read only the relevant section. Use tail=true to read from end (e.g. log files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| tail | No | Read from end of file | |
| lines | No | Number of lines to read | |
| offset | No | Line offset (skip N lines from start) | |
| server | Yes | Server name |