• Preparing search index...
  • The search index is not available
LangChain.js - v0.2.13
  • LangChain.js
  • langchain-core/utils/function_calling
  • isStructuredToolParams

Function isStructuredToolParams

  • isStructuredToolParams(tool?): tool is StructuredToolParams
  • 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.

    • Defined in langchain-core/src/utils/function_calling.ts:124

Settings

Member Visibility
LangChain.js - v0.2.13
  • Loading...

Generated using TypeDoc