Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix: disable evaluate tool

reformedot1271c3406275
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index 61b549854..b70021914 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -102,7 +102,7 @@ def handle_browser_error(e: BrowserError) -> ActionResult:
class Tools(Generic[Context]):
def __init__(
self,
- exclude_actions: list[str] = [],
+ exclude_actions: list[str] = ["evaluate"],
output_model: type[T] | None = None,
display_files_in_done_text: bool = True,
):