Interface RunnableToolLikeArgs<RunInput, RunOutput>

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

Type Parameters

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

Hierarchy

Properties

name: string
schema: RunInput
configFactories?: ((config: RunnableConfig) => RunnableConfig)[]
description?: string
kwargs?: Partial<RunnableConfig>