Files
crewAI/docs/edge/en/tools/database-data/overview.mdx
T
Nora Reidy c0eda9f538
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Vulnerability Scan / Detect changes (push) Has been cancelled
Vulnerability Scan / pip-audit (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
docs: consolidate MongoDB documentation improvements (#8097)
* docs: consolidate MongoDB documentation improvements

Combines previously closed MongoDB docs PRs (#6847, #6845, #6721,
#6626, #6760, #6759) into a single PR per the updated contribution
guidelines requiring a linked open issue.

RagTool only supports chromadb and qdrant as vector store backends;
MongoDB Atlas is covered separately by MongoDBVectorSearchTool, which
is already listed in the database-data tools overview, so the RagTool
data-sources bullet was dropped rather than reintroduced.

Fixes #8096

* revert gemini change

* ai review feedback

* memory wording

* translations
2026-10-13 11:36:15 +05:30

72 lines
2.6 KiB
Plaintext

---
title: "Overview"
description: "Connect to databases, vector stores, and data warehouses for comprehensive data access"
icon: "face-smile"
mode: "wide"
---
These tools enable your agents to interact with various database systems, from traditional SQL databases to modern vector stores and data warehouses.
## **Available Tools**
<CardGroup cols={2}>
<Card title="MySQL Tool" icon="database" href="/en/tools/database-data/mysqltool">
Connect to and query MySQL databases with SQL operations.
</Card>
<Card title="PostgreSQL Search" icon="elephant" href="/en/tools/database-data/pgsearchtool">
Search and query PostgreSQL databases efficiently.
</Card>
<Card title="Snowflake Search" icon="snowflake" href="/en/tools/database-data/snowflakesearchtool">
Access Snowflake data warehouse for analytics and reporting.
</Card>
<Card title="NL2SQL Tool" icon="language" href="/en/tools/database-data/nl2sqltool">
Convert natural language queries to SQL statements automatically.
</Card>
<Card title="Qdrant Vector Search" icon="vector-square" href="/en/tools/database-data/qdrantvectorsearchtool">
Search vector embeddings using Qdrant vector database.
</Card>
<Card title="Weaviate Vector Search" icon="network-wired" href="/en/tools/database-data/weaviatevectorsearchtool">
Perform semantic search with Weaviate vector database.
</Card>
<Card title="MongoDB Vector Search" icon="leaf" href="/en/tools/database-data/mongodbvectorsearchtool">
Vector similarity search on MongoDB Atlas with indexing helpers.
</Card>
<Card title="SingleStore Search" icon="database" href="/en/tools/database-data/singlestoresearchtool">
Safe SELECT/SHOW queries on SingleStore with pooling and validation.
</Card>
</CardGroup>
## **Common Use Cases**
- **Data Analysis**: Query databases for business intelligence and reporting
- **Vector Search**: Find similar content using semantic embeddings
- **ETL Operations**: Extract, transform, and load data between systems
- **Real-time Analytics**: Access live data for decision making
```python
from crewai_tools import MySQLTool, MongoDBVectorSearchTool, QdrantVectorSearchTool, NL2SQLTool
# Create database tools
mysql_db = MySQLTool()
mongodb_vector_search = MongoDBVectorSearchTool(
connection_string="<MONGODB_URI>",
database_name="<database>",
collection_name="<collection>",
)
qdrant_vector_search = QdrantVectorSearchTool()
nl_to_sql = NL2SQLTool()
# Add to your agent
agent = Agent(
role="Data Analyst",
tools=[mysql_db, mongodb_vector_search, qdrant_vector_search, nl_to_sql],
goal="Extract insights from various data sources"
)