| package tools | |
| func Register(reg Registry) error { | |
| reg.Add(NewFuncTool("file_read", FileRead, "Reads contents of the given file.")) | |
| reg.Add(NewFuncTool("file_write", FileWrite, "Writes given contents to a file.")) | |
| reg.Add(NewFuncTool("dir_list", DirList, "Reads directory with given name, returning all its entries.")) | |
| reg.Add(NewFuncTool("bash_command", BashCommand, "Runs given bash command and returns result back.")) | |
| return nil | |
| } |