Skip to main content

create_filesystem_tools

Function create_filesystem_tools 

Source
pub fn create_filesystem_tools(backend: Arc<dyn Backend>) -> Vec<Arc<dyn Tool>>
Expand description

Create the built-in filesystem tools backed by the given backend.

Returns 6 tools (ls, read_file, write_file, edit_file, glob, grep) plus an execute tool if the backend supports execution.