The DirectoryReadTool
is a powerful utility designed to provide a comprehensive listing of directory contents.
DirectoryReadTool
crewai_tools
package. If this package is not yet part of your environment, you can install it using pip with the command below:
crewai_tools
package, granting access to the DirectoryReadTool among other utilities.
DirectoryReadTool
’s behavior:
Argument | Type | Description |
---|---|---|
directory | string | Optional. An argument that specifies the path to the directory whose contents you wish to list. It accepts both absolute and relative paths, guiding the tool to the desired directory for content listing. |