UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera

9 lines (7 loc) 400 B
import { DynamicStructuredTool } from '@langchain/core/tools'; import { MCPToolInfo, MCPServerConfig } from '../types'; import { MCPClientManager } from '../MCPClientManager'; /** * Convert an MCP tool to a LangChain DynamicStructuredTool */ export declare function convertMCPToolToLangChain(tool: MCPToolInfo, mcpManager: MCPClientManager, serverConfig?: MCPServerConfig): DynamicStructuredTool;