Class for making POST requests. Extends the Tool class and implements the RequestTool interface. The input should be a JSON string with two keys: 'url' and 'data'. The output will be the text response of the POST request.

Hierarchy

  • Tool
    • RequestsPostTool

Implements

  • RequestTool

Constructors

Properties

description: string = ...
headers: Headers = {}
maxOutputLength: number = Infinity
name: string = "requests_post"

Generated using TypeDoc