langchain.js
    Preparing search index...

    Class RequestsGetTool

    Class for making GET requests. Extends the Tool class and implements the RequestTool interface. The input should be a URL string, and the output will be the text response of the GET request.

    Hierarchy (View Summary)

    Implements

    • RequestTool
    Index

    Constructors

    • Parameters

      • headers: Headers = {}
      • __namedParameters: { maxOutputLength?: number } = {}

      Returns RequestsGetTool

    Properties

    description: string = ...
    headers: Headers = {}
    maxOutputLength: number = 2000
    name: string = "requests_get"

    Methods

    • Returns string