UNPKG

jezweb-mcp-core

Version:

Jezweb Model Context Protocol (MCP) Core - A universal server for providing AI tools and resources, designed for seamless integration with various AI models and clients. Features adaptable multi-provider support, comprehensive tool and resource management

55 lines 1.77 kB
/** * Thread Tool Handlers - Handlers for all thread-related operations * * This file contains handlers for: * - thread-create: Create a new conversation thread * - thread-get: Get details of a specific thread * - thread-update: Update thread metadata * - thread-delete: Delete a thread * * Each handler implements the BaseToolHandler interface and provides * specific validation and execution logic for thread operations. */ import { BaseToolHandler, ToolHandlerContext } from './base-tool-handler.js'; import { ValidationResult } from '../../validation/index.js'; /** * Handler for creating new threads */ export declare class ThreadCreateHandler extends BaseToolHandler { getToolName(): string; getCategory(): string; validate(args: any): ValidationResult; execute(args: any): Promise<any>; } /** * Handler for getting thread details */ export declare class ThreadGetHandler extends BaseToolHandler { getToolName(): string; getCategory(): string; validate(args: any): ValidationResult; execute(args: any): Promise<any>; } /** * Handler for updating threads */ export declare class ThreadUpdateHandler extends BaseToolHandler { getToolName(): string; getCategory(): string; validate(args: any): ValidationResult; execute(args: any): Promise<any>; } /** * Handler for deleting threads */ export declare class ThreadDeleteHandler extends BaseToolHandler { getToolName(): string; getCategory(): string; validate(args: any): ValidationResult; execute(args: any): Promise<any>; } /** * Factory function to create all thread handlers */ export declare function createThreadHandlers(context: ToolHandlerContext): Record<string, BaseToolHandler>; //# sourceMappingURL=thread-handlers.d.ts.map