Skip to main content
The Webbrowser Tool gives your agent the ability to visit a website and extract information. It is described to the agent as
It exposes two modes of operation:
  • when called by the Agent with only a URL it produces a summary of the website contents
  • when called by the Agent with a URL and a description of what to find it will instead use an in-memory Vector Store to find the most relevant snippets and summarise those

Setup

To use the Webbrowser Tool you need to install the dependencies:
npm

Usage, standalone

Usage, in an Agent

The @langchain/community package is no longer maintained. Examples that import from @langchain/community may be outdated or broken. Use with caution.