• Preparing search index...
  • The search index is not available
LangChain.js
  • LangChain.js
  • @langchain/core
  • tools
  • isRunnableToolLike

Function isRunnableToolLike

  • isRunnableToolLike(tool?): tool is RunnableToolLike<InteropZodType, unknown>
  • Confirm whether the inputted tool is an instance of RunnableToolLike.

    Parameters

    • Optionaltool: unknown

      The tool to check if it is an instance of RunnableToolLike.

    Returns tool is RunnableToolLike<InteropZodType, unknown>

    Whether the inputted tool is an instance of RunnableToolLike.

    • Defined in langchain-core/src/tools/types.ts:363

Settings

Member Visibility
LangChain.js
  • Loading...

Generated using TypeDoc