Overview
Read, write, and search through various file formats with CrewAI’s document processing tools
These tools enable your agents to work with various file formats and document types. From reading PDFs to processing JSON data, these tools handle all your document processing needs.
Available Tools
File Read Tool
Read content from any file type including text, markdown, and more.
File Write Tool
Write content to files, create new documents, and save processed data.
PDF Search Tool
Search and extract text content from PDF documents efficiently.
DOCX Search Tool
Search through Microsoft Word documents and extract relevant content.
JSON Search Tool
Parse and search through JSON files with advanced query capabilities.
CSV Search Tool
Process and search through CSV files, extract specific rows and columns.
XML Search Tool
Parse XML files and search for specific elements and attributes.
MDX Search Tool
Search through MDX files and extract content from documentation.
TXT Search Tool
Search through plain text files with pattern matching capabilities.
Directory Search Tool
Search for files and folders within directory structures.
Directory Read Tool
Read and list directory contents, file structures, and metadata.
Common Use Cases
- Document Processing: Extract and analyze content from various file formats
- Data Import: Read structured data from CSV, JSON, and XML files
- Content Search: Find specific information within large document collections
- File Management: Organize and manipulate files and directories
- Data Export: Save processed results to various file formats
Quick Start Example
Tips for Document Processing
- File Permissions: Ensure your agent has proper read/write permissions
- Large Files: Consider chunking for very large documents
- Format Support: Check tool documentation for supported file formats
- Error Handling: Implement proper error handling for corrupted or inaccessible files