Skip to main content

Module read

Module read 

Source
Expand description

Read Tool Implementation

This module implements the ReadTool for reading files with:

  • Text file reading with line numbers
  • Image reading with base64 encoding
  • PDF reading (optional)
  • Jupyter notebook reading
  • File read history tracking

Requirements: 4.1, 4.2, 4.3, 4.4, 4.5

Structs§

LineRange
Line range for partial file reading
ReadTool

Constants§

MAX_IMAGE_FILE_SIZE
Maximum file size for images (50MB)
MAX_TEXT_FILE_SIZE
Maximum file size for text files (10MB)