langchain.js
    Preparing search index...

    Interface StructuredToolParams

    Schema for defining tools.

    0.2.19

    interface StructuredToolParams {
        description?: string;
        name: string;
        schema: ToolSchemaBase;
    }

    Hierarchy

    Index

    Properties

    description?: string

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

    name: string

    The name of the tool.

    A Zod schema representing the parameters of the tool.