A tool for web search functionality using Bing's search engine. It extends the base Tool class and implements the _call method to perform the search operation. Requires an API key for Bing's search engine, which can be set in the environment variables. Also accepts additional parameters for the search query.

Hierarchy

  • Tool
    • BingSerpAPI

Constructors

Properties

Methods

Constructors

Properties

description: string = "a search engine. useful for when you need to answer questions about current events. input should be a search query."
key: string
name: string = "bing-search"
params: Record<string, string>

Methods

Generated using TypeDoc