Wrapper around serper.

You can create a free API key at https://serper.dev.

To use, you should have the SERPER_API_KEY environment variable set.

Hierarchy

  • Tool
    • Serper

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."
name: string = "search"
key: string
params: Partial<SerperParameters>

Methods

  • Converts the Serper instance to JSON. This method is not implemented and will throw an error if called.

    Returns SerializedNotImplemented

    Throws an error.

Generated using TypeDoc