Skip to content

The agent engineering platform.

Fix tool description in serpapi.ipynb (#30660)

NikeHop9c03cd5775a0
diff --git a/docs/docs/integrations/tools/serpapi.ipynb b/docs/docs/integrations/tools/serpapi.ipynb
index c2dc69cec1..100866b205 100644
--- a/docs/docs/integrations/tools/serpapi.ipynb
+++ b/docs/docs/integrations/tools/serpapi.ipynb
@@ -106,9 +106,9 @@
"from langchain_core.tools import Tool\n",
"\n",
"# You can create the tool to pass to an agent\n",
- "repl_tool = Tool(\n",
- " name=\"python_repl\",\n",
- " description=\"A Python shell. Use this to execute python commands. Input should be a valid python command. If you want to see the output of a value, you should print it out with `print(...)`.\",\n",
+ "custom_tool = Tool(\n",
+ " name=\"web search\",\n",
+ " description=\"Search the web for information\",\n",
" func=search.run,\n",
")"
]