Class for interacting with the Brave Search engine. It extends the Tool class and requires an API key to function. The API key can be passed in during instantiation or set as an environment variable named 'BRAVE_SEARCH_API_KEY'.

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

apiKey: string
description: string = "a search engine. useful for when you need to answer questions about current events. input should be a search query."
name: string = "brave-search"
""