diff --git a/docs/docs/integrations/tools/serpapi.ipynb b/docs/docs/integrations/tools/serpapi.ipynb index c2dc69cec13..100866b2059 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", ")" ]