Module filesystem

Module filesystem 

Source
Expand description

Built-in filesystem tools for agent file manipulation

These tools provide a mock filesystem interface that agents can use to read, write, and edit files stored in the agent state.

Structs§

EditFileTool
Edit file tool - performs string replacement in a file
LsTool
List files tool - shows all files in the agent’s filesystem
ReadFileTool
Read file tool - reads the contents of a file
WriteFileTool
Write file tool - creates or overwrites a file

Functions§

create_filesystem_tools
Create all filesystem tools and return them as a vec