langchain.js
    Preparing search index...

    Function renderTextDescription

    • Render the tool name and description in plain text.

      Output will be in the format of:

      search: This tool is used for search
      calculator: This tool is used for math

      Parameters

      • tools: StructuredToolInterface[] | ToolDefinition[]

      Returns string

      a string of all tools and their descriptions