teff.tool.builtin.file¶
teff.tool.builtin.file
¶
File tools — read, write, and edit files on disk.
Classes:
| Name | Description |
|---|---|
EditFileTool |
Edit a file by replacing the first occurrence of a string. |
ReadFileTool |
Read a file's contents. |
WriteFileTool |
Write text content to a file. |
EditFileTool
¶
Bases: Tool
Edit a file by replacing the first occurrence of a string.
Source code in teff/tool/builtin/file.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
ReadFileTool
¶
Bases: Tool
Read a file's contents.
Source code in teff/tool/builtin/file.py
6 7 8 9 10 11 12 13 14 | |
WriteFileTool
¶
Bases: Tool
Write text content to a file.
Source code in teff/tool/builtin/file.py
17 18 19 20 21 22 23 24 25 26 | |