BrowserbaseLoadTool

Description

Browserbase is a developer platform to reliably run, manage, and monitor headless browsers.

Power your AI data retrievals with:

Installation

  • Get an API key and Project ID from browserbase.com and set it in environment variables (BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID).
  • Install the Browserbase SDK along with crewai[tools] package:
pip install browserbase 'crewai[tools]'

Example

Utilize the BrowserbaseLoadTool as follows to allow your agent to load websites:

Code
from crewai_tools import BrowserbaseLoadTool

# Initialize the tool with the Browserbase API key and Project ID
tool = BrowserbaseLoadTool()

Arguments

The following parameters can be used to customize the BrowserbaseLoadTool’s behavior:

ArgumentTypeDescription
api_keystringOptional. Browserbase API key. Default is BROWSERBASE_API_KEY env variable.
project_idstringOptional. Browserbase Project ID. Default is BROWSERBASE_PROJECT_ID env variable.
text_contentboolOptional. Retrieve only text content. Default is False.
session_idstringOptional. Provide an existing Session ID.
proxyboolOptional. Enable/Disable Proxies. Default is False.