interface ToolSchema {
    name: string;
    schema: ZodObjectAny;
    description?: string;
}

Properties

name: string

The name of the tool to pass to the model.

schema: ZodObjectAny

A Zod schema representing the parameters of the tool.

description?: string

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