From 536447ab0e28cf9d50f6ee2194d1c9c149f40c73 Mon Sep 17 00:00:00 2001 From: Thiago Moretto <168731+thiagomoretto@users.noreply.github.com> Date: Mon, 2 Feb 2026 11:45:47 -0300 Subject: [PATCH] declare `stagehand` package as dep for StagehandTool (#4336) --- .../src/crewai_tools/tools/stagehand_tool/stagehand_tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py b/lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py index c97c78e66..ba7048ba9 100644 --- a/lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py +++ b/lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py @@ -137,6 +137,7 @@ class StagehandTool(BaseTool): - 'observe': For finding elements in a specific area """ args_schema: type[BaseModel] = StagehandToolSchema + package_dependencies: list[str] = Field(default_factory=lambda: ["stagehand"]) # Stagehand configuration api_key: str | None = None