# `Condukt.Tools.Read`
[🔗](https://github.com/tuist/condukt/blob/0.16.5/lib/condukt/tools/read.ex#L1)

Tool for reading file contents.

Supports text files and images (jpg, png, gif, webp). Images are returned
as base64-encoded attachments. Text files are truncated to reasonable limits.

All filesystem access goes through the active `Condukt.Sandbox`, so the
same agent definition behaves identically against the host filesystem
(`Sandbox.Local`) or an in-memory virtual filesystem (`Sandbox.Virtual`).

## Parameters

- `path` - Path to the file (relative or absolute)
- `offset` - Line number to start reading from (1-indexed, optional)
- `limit` - Maximum number of lines to read (optional)

## Limits

Output is truncated to 2000 lines or 50KB, whichever comes first.
For large files, use offset/limit to read in chunks.

# `description`

# `name`

# `parameters`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
