Class GoogleCustomSearch

Class that uses the Google Search API to perform custom searches. Requires environment variables GOOGLE_API_KEY and GOOGLE_CSE_ID to be set.

Hierarchy

  • Tool
    • GoogleCustomSearch

Constructors

Properties

Constructors

Properties

description: string = "a custom search engine. useful for when you need to answer questions about current events. input should be a search query. outputs a JSON array of results."
name: string = "google-custom-search"
apiKey: string
googleCSEId: string

Generated using TypeDoc