Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:CrewAIInc CrewAI Tools Init Interface

From Leeroopedia
Knowledge Sources
Domains Tools, Package_Interface
Last Updated 2026-02-11 00:00 GMT

Overview

Concrete module serving as the main public import interface for all CrewAI tool classes provided by CrewAI.

Description

The tools __init__.py module is the unified API surface for the entire CrewAI tools ecosystem. It imports over 90 tool classes from their respective submodules across various categories including search tools, scraping tools, database tools, file tools, AI integration tools, and vector search tools. All imports are organized alphabetically and exposed via the __all__ list, enabling users to import any tool from crewai_tools.tools rather than navigating complex submodule structures. Tool categories span web search (BraveSearchTool, SerperDevTool), web scraping (ScrapeWebsiteTool, FirecrawlScrapeWebsiteTool), file search (CSVSearchTool, PDFSearchTool), vector databases (CouchbaseFTSVectorSearchTool, QdrantVectorSearchTool), AI platforms (ComposioTool, LlamaIndexTool), and many more.

Usage

Use this module as the single import entry point when accessing any CrewAI built-in tool. Instead of importing from deeply nested submodules, import directly from crewai_tools or crewai_tools.tools.

Code Reference

Source Location

  • Repository: CrewAI
  • File: lib/crewai-tools/src/crewai_tools/tools/__init__.py
  • Lines: 1-274

Signature

# Package-level imports exposing all tool classes
from crewai_tools.tools.ai_mind_tool.ai_mind_tool import AIMindTool
from crewai_tools.tools.brave_search_tool.brave_search_tool import BraveSearchTool
from crewai_tools.tools.csv_search_tool.csv_search_tool import CSVSearchTool
# ... 90+ tool imports ...

__all__ = [
    "AIMindTool",
    "ApifyActorsTool",
    "ArxivPaperTool",
    "BraveSearchTool",
    # ... 90+ tool names ...
]

Import

from crewai_tools import BraveSearchTool, CSVSearchTool, ScrapeWebsiteTool

I/O Contract

Inputs

Name Type Required Description
N/A N/A N/A This is a package init module; no direct inputs

Outputs

Name Type Description
__all__ list[str] List of 90+ exported tool class names available for import

Usage Examples

Basic Usage

from crewai_tools import BraveSearchTool, CSVSearchTool, ScrapeWebsiteTool

# All tools are importable from the top-level package
search_tool = BraveSearchTool()
csv_tool = CSVSearchTool(csv="data.csv")

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment