interface StructuredToolParams {
    name: string;
    schema: ZodObjectAny | ZodEffects<ZodObjectAny, any, {}>;
    description?: string;
}

Hierarchy

Properties

name: string

The name of the tool.

schema: ZodObjectAny | ZodEffects<ZodObjectAny, any, {}>

A Zod schema representing the parameters of the tool.

description?: string

An optional description of the tool to pass to the model.