langchain.js
    Preparing search index...

    Function renderTextDescriptionAndArgs

    • Render the tool name, description, and args in plain text. Output will be in the format of:'

      search: This tool is used for search, args: {"query": {"type": "string"}}
      calculator: This tool is used for math,
      args: {"expression": {"type": "string"}}

      Parameters

      • tools: StructuredToolInterface[] | ToolDefinition[]

      Returns string

      a string of all tools, their descriptions and a stringified version of their schemas