Interface DynamicStructuredToolInput<T>

Interface for the input parameters of the DynamicStructuredTool class.

Type Parameters

  • T extends z.ZodObject<any, any, any, any> = z.ZodObject<any, any, any, any>

Hierarchy

  • BaseDynamicToolInput
    • DynamicStructuredToolInput

Properties

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

Type declaration

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

      • input: TypeOf<T>
      • Optional runManager: CallbackManagerForToolRun

      Returns Promise<string>

name: string
schema: T
returnDirect?: boolean

Generated using TypeDoc