From fcb5b19b2ec08dcb61589db8d1191554cd8906da Mon Sep 17 00:00:00 2001 From: Daniel Barreto Date: Tue, 11 Nov 2025 19:33:33 -0300 Subject: [PATCH] Enhance schema description of QdrantVectorSearchTool (#3891) --- .../qdrant_vector_search_tool/qdrant_search_tool.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/crewai-tools/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py b/lib/crewai-tools/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py index b0b4d1a77..063af07e3 100644 --- a/lib/crewai-tools/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py +++ b/lib/crewai-tools/src/crewai_tools/tools/qdrant_vector_search_tool/qdrant_search_tool.py @@ -12,12 +12,16 @@ from pydantic.types import ImportString class QdrantToolSchema(BaseModel): - query: str = Field(..., description="Query to search in Qdrant DB") + query: str = Field( + ..., description="Query to search in Qdrant DB - always required." + ) filter_by: str | None = Field( - default=None, description="Parameter to filter the search by." + default=None, + description="Parameter to filter the search by. When filtering, needs to be used in conjunction with filter_value.", ) filter_value: Any | None = Field( - default=None, description="Value to filter the search by." + default=None, + description="Value to filter the search by. When filtering, needs to be used in conjunction with filter_by.", )