Class DynamicTool

A tool that can be created dynamically from a function, name, and description.

Hierarchy

Constructors

Properties

Constructors

Properties

description: string
func: ((input, runManager?) => Promise<string>)

Type declaration

    • (input, runManager?): Promise<string>
    • Parameters

      • input: string
      • Optional runManager: CallbackManagerForToolRun

      Returns Promise<string>

name: string

Generated using TypeDoc