| Sketch🕴️ | 305f817 | 2026-02-27 13:58:43 +0400 | [diff] [blame] | 1 | package tools |
| 2 | |
| 3 | func 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🕴️ | 0020265 | 2026-02-28 21:10:00 +0400 | [diff] [blame] | 7 | reg.Add(NewFuncTool("bash_command", BashCommand, "Runs given bash command and returns result back.")) |
| Sketch🕴️ | 305f817 | 2026-02-27 13:58:43 +0400 | [diff] [blame] | 8 | return nil |
| 9 | } |