• Load all tools from an MCP client.

    Parameters

    • serverName: string

      The name of the server to load tools from

    • client: Client<{
          method: string;
          params?: {};
      }, {
          method: string;
          params?: {};
      }, {}>

      The MCP client

    • Optionaloptions: LoadMcpToolsOptions

    Returns Promise<StructuredToolInterface[]>

    A list of LangChain tools