From 56b6594669f299e0132bde562f60ff78cb2d889d Mon Sep 17 00:00:00 2001 From: Thiago Moretto <168731+thiagomoretto@users.noreply.github.com> Date: Thu, 21 May 2026 11:57:17 -0300 Subject: [PATCH] fix(tools): correct mongdb typo to pymongo in package_dependencies (#5891) * fix(tools): correct mongdb typo to pymongo in package_dependencies The `package_dependencies` field in `MongoDBVectorSearchTool` referenced the non-existent package `mongdb` instead of the actual PyPI package `pymongo`, which is the driver imported and used throughout the file. * chore: update tool specifications --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../tools/mongodb_vector_search_tool/vector_search.py | 2 +- lib/crewai-tools/tool.specs.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py b/lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py index 8bcd99a4f..382576d55 100644 --- a/lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py +++ b/lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py @@ -103,7 +103,7 @@ class MongoDBVectorSearchTool(BaseTool): ), ] ) - package_dependencies: list[str] = Field(default_factory=lambda: ["mongdb"]) + package_dependencies: list[str] = Field(default_factory=lambda: ["pymongo"]) def __init__(self, **kwargs: Any) -> None: super().__init__(**kwargs) diff --git a/lib/crewai-tools/tool.specs.json b/lib/crewai-tools/tool.specs.json index c7144e2cc..6f759c5d8 100644 --- a/lib/crewai-tools/tool.specs.json +++ b/lib/crewai-tools/tool.specs.json @@ -14633,7 +14633,7 @@ }, "name": "MongoDBVectorSearchTool", "package_dependencies": [ - "mongdb" + "pymongo" ], "run_params_schema": { "description": "Input for MongoDBTool.",