blob: a04cf9846f03b634e0495256ea1c88651eedffd5 [file] [log] [blame]
Sketch🕴️305f8172026-02-27 13:58:43 +04001package tools
2
3func Register(reg Registry) error {
4 reg.Add(NewFuncTool("file_read", FileRead, "Reads contents of the given file."))
5 reg.Add(NewFuncTool("file_write", FileWrite, "Writes given contents to a file."))
6 reg.Add(NewFuncTool("dir_list", DirList, "Reads directory with given name, returning all its entries."))
Sketch🕴️00202652026-02-28 21:10:00 +04007 reg.Add(NewFuncTool("bash_command", BashCommand, "Runs given bash command and returns result back."))
Sketch🕴️305f8172026-02-27 13:58:43 +04008 return nil
9}