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.
Summary
Functions
Callback implementation for Condukt.Tool.description/1.
Callback implementation for Condukt.Tool.name/1.
Callback implementation for Condukt.Tool.parameters/1.
Functions
Callback implementation for Condukt.Tool.description/1.
Callback implementation for Condukt.Tool.name/1.
Callback implementation for Condukt.Tool.parameters/1.