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

  • Tool
    • RequestsGetTool

Implements

  • RequestTool

Constructors

  • Parameters

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

    Returns RequestsGetTool

Properties

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

Generated using TypeDoc