langchain.js
    Preparing search index...
    • Load all tools from an MCP client.

      Parameters

      • serverName: string

        The name of the server to load tools from

      • client: Client

        The MCP client

      • Optionaloptions: LoadMcpToolsOptions

      Returns Promise<DynamicStructuredTool[]>

      A list of LangChain tools