read_file
Retrieve file contents as text, with options to extract first or last N lines. Use read_text_file for an updated approach. Simplifies file access in filesystem operations.
Instructions
Read the complete contents of a file as text. DEPRECATED: Use read_text_file instead.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
head | No | If provided, returns only the first N lines of the file | |
path | Yes | ||
tail | No | If provided, returns only the last N lines of the file |