Skip to content

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

Update search google

Magnus Müller97a1ef1aa41a
diff --git a/docs/customize/agent/prompting-guide.mdx b/docs/customize/agent/prompting-guide.mdx
index bcdc0009e..f19d88e90 100644
--- a/docs/customize/agent/prompting-guide.mdx
+++ b/docs/customize/agent/prompting-guide.mdx
@@ -29,7 +29,7 @@ When you know exactly what the agent should do, reference actions by name:
```python
task = """
-1. Use search_google action to find "Python tutorials"
+1. Use search action to find "Python tutorials"
2. Use click_element_by_index to open first result in a new tab
3. Use scroll action to scroll down 2 pages
4. Use extract_structured_data to extract the names of the first 5 items
diff --git a/examples/custom-functions/advanced_search.py b/examples/custom-functions/advanced_search.py
index cd38395ff..aed3bd5b6 100644
--- a/examples/custom-functions/advanced_search.py
+++ b/examples/custom-functions/advanced_search.py
@@ -33,7 +33,7 @@ SERP_API_KEY = os.getenv('SERPER_API_KEY')
if not SERP_API_KEY:
raise ValueError('SERPER_API_KEY is not set')
-tools = Tools(exclude_actions=['search_google'], output_model=PersonList)
+tools = Tools(exclude_actions=['search'], output_model=PersonList)
@tools.registry.action('Search the web for a specific query. Returns a short description and links of the results.')