Interface RunnableToolLikeArgs<RunInput, RunOutput>

interface RunnableToolLikeArgs<RunInput, RunOutput> {
    bound: Runnable<TypeOf<RunInput>, RunOutput, RunnableConfig<Record<string, any>>>;
    config?: RunnableConfig<Record<string, any>>;
    configFactories?: ((config: RunnableConfig<Record<string, any>>) => RunnableConfig<Record<string, any>>)[];
    description?: string;
    kwargs?: Partial<RunnableConfig<Record<string, any>>>;
    name: string;
    schema: RunInput;
}

Type Parameters

  • RunInput extends z.ZodType = z.ZodType
  • RunOutput = unknown

Hierarchy

Properties

bound: Runnable<TypeOf<RunInput>, RunOutput, RunnableConfig<Record<string, any>>>
config?: RunnableConfig<Record<string, any>>
configFactories?: ((config: RunnableConfig<Record<string, any>>) => RunnableConfig<Record<string, any>>)[]
description?: string
kwargs?: Partial<RunnableConfig<Record<string, any>>>
name: string
schema: RunInput