Skip to content

The agent engineering platform.

docs: replace deprecated load_tools in serpapi.mdx (#31215)

Michael Lif034bd7933b0
diff --git a/docs/docs/integrations/providers/serpapi.mdx b/docs/docs/integrations/providers/serpapi.mdx
index 31de2bb5ec..3909313145 100644
--- a/docs/docs/integrations/providers/serpapi.mdx
+++ b/docs/docs/integrations/providers/serpapi.mdx
@@ -24,7 +24,7 @@ For a more detailed walkthrough of this wrapper, see [this notebook](/docs/integ
You can also easily load this wrapper as a Tool (to use with an Agent).
You can do this with:
```python
-from langchain.agents import load_tools
+from langchain_community.agent_toolkits.load_tools import load_tools
tools = load_tools(["serpapi"])
```