> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read file

> Read a file from the computer.

{/* Tool: read_file */}

Zo Computer supports a wide range of file formats including text, word processing, spreadsheets, presentations, PDFs, ebooks, images, audio, and video. AI that can work with spreadsheets (.xlsx, .xls). AI that can work with Word documents (.docx, .doc). AI that can work with PowerPoint presentations (.pptx). AI that can work with PDF files (.pdf). AI that can transcribe audio files (.mp3, .wav, .m4a). AI that can transcribe and convert video files (.mp4, .mov, .avi). AI that can work with ebooks (.epub). AI that can see and convert images (.png, .jpg, .gif).

## Parameters

<ParamField path="target_file" type="string" required={true}>
  The absolute path of the file to read.
</ParamField>

<ParamField path="start_line" type="number" default={-1}>
  The 1-indexed line number to start reading from (text files).
</ParamField>

<ParamField path="end_line" type="number" default={-1}>
  The 1-indexed line number to end reading at, inclusive (text files).
</ParamField>

<ParamField path="read_entire_file" type="boolean" default={false}>
  If true, read the entire text file.
</ParamField>

<ParamField path="pdf_epub_start_page_1_indexed" type="number" default={-1}>
  The 1-indexed start page for the PDF/EPUB read.
</ParamField>

<ParamField path="pdf_epub_end_page_1_indexed_inclusive" type="number" default={-1}>
  The 1-indexed end page (inclusive) for the PDF/EPUB read.
</ParamField>

<ParamField path="pdf_epub_include_images" type="boolean" default={false}>
  If true, include rendered page images. This is slower and should be used sparingly.
</ParamField>
