langchain.js
    Preparing search index...

    Function isStructuredToolParams

    • Confirm whether or not the tool contains the necessary properties to be considered a StructuredToolParams.

      Parameters

      • Optionaltool: unknown

        The object to check if it is a StructuredToolParams.

      Returns tool is StructuredToolParams

      Whether the inputted object is a StructuredToolParams.