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

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

from crewai_tools import FileReadTool, PDFSearchTool, JSONSearchTool

# Create tools
file_reader = FileReadTool()
pdf_searcher = PDFSearchTool()
json_processor = JSONSearchTool()

# Add to your agent
agent = Agent(
    role="Document Analyst",
    tools=[file_reader, pdf_searcher, json_processor],
    goal="Process and analyze various document types"
)

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