Skip to main content

Example

The following agent will generate an answer and save it in a file.
cookbook/91_tools/file_tools.py
FileTools() defaults base_dir to the process working directory. Set base_dir to a narrow directory that contains only the files the agent needs to access.

Toolkit Params

Toolkit Functions

Developer Resources