Parameters for the Tool classes.

interface FakeToolParams<T> {
    description: string;
    name: string;
    schema: T;
    callbacks?: CallbackManager | (BaseCallbackHandlerMethodsClass | BaseCallbackHandler)[];
    metadata?: Record<string, unknown>;
    tags?: string[];
    verbose?: boolean;
}

Type Parameters

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

Hierarchy (view full)

Properties

description: string
name: string
schema: T
callbacks?: CallbackManager | (BaseCallbackHandlerMethodsClass | BaseCallbackHandler)[]
metadata?: Record<string, unknown>
tags?: string[]
verbose?: boolean

Generated using TypeDoc