UNPKG

onyx-mcp-server

Version:

Model Context Protocol (MCP) server for seamless integration with Onyx AI knowledge bases

24 lines (23 loc) 579 B
import { OnyxApiService } from '../services/onyxApi.js'; /** * Handle the chat_with_onyx tool request * @param args The tool arguments * @param onyxApiService The Onyx API service * @returns The tool response */ export declare function handleChatWithOnyx(args: unknown, onyxApiService: OnyxApiService): Promise<{ content: { type: string; text: string; metadata: { chat_session_id: string; }; }[]; isError?: undefined; } | { content: { type: string; text: string; }[]; isError: boolean; }>;