@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
29 lines (23 loc) • 487 B
text/typescript
interface InputSchema {
[k: string]: unknown;
properties?: unknown | null;
type: 'object';
}
export interface McpTool {
description: string;
inputSchema: InputSchema;
name: string;
}
interface HttpMCPClientParams {
name: string;
type: 'http';
url: string;
}
export interface StdioMCPParams {
args: string[];
command: string;
env?: Record<string, string>;
name: string;
type: 'stdio';
}
export type MCPClientParams = HttpMCPClientParams | StdioMCPParams;