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

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
callbacks?: Callbacks
metadata?: Record<string, unknown>
returnDirect?: boolean
tags?: string[]
verbose?: boolean

Generated using TypeDoc