onyx-mcp-server
Version:
Model Context Protocol (MCP) server for seamless integration with Onyx AI knowledge bases
21 lines (20 loc) • 506 B
TypeScript
import { OnyxApiService } from '../services/onyxApi.js';
/**
* Handle the search_onyx tool request
* @param args The tool arguments
* @param onyxApiService The Onyx API service
* @returns The tool response
*/
export declare function handleSearchOnyx(args: unknown, onyxApiService: OnyxApiService): Promise<{
content: {
type: string;
text: string;
}[];
isError?: undefined;
} | {
content: {
type: string;
text: string;
}[];
isError: boolean;
}>;