Rag.Agent.Tools.ReadFile (rag v0.3.4)
View SourceTool for reading file contents.
Reads the contents of a file, optionally extracting specific line ranges.
Context Requirements
:read_fn- Optional function to read files:(path) -> {:ok, content} | {:error, reason}
If no read_fn is provided, uses File.read/1.