jobnimbus-mcp-client
Version: 
JobNimbus MCP Client - Connect Claude Desktop to remote JobNimbus MCP server
23 lines • 693 B
TypeScript
/**
 * Base Tool Class for MCP Tools
 */
import { MCPToolDefinition, ToolContext } from '../types/index.js';
export declare abstract class BaseTool<TInput = any, TOutput = any> {
    /**
     * Tool definition (name, description, schema)
     */
    abstract get definition(): MCPToolDefinition;
    /**
     * Execute the tool
     */
    abstract execute(input: TInput, context: ToolContext): Promise<TOutput>;
    /**
     * Validate input (override if needed)
     */
    protected validateInput(_input: TInput): void;
    /**
     * Get JobNimbus client
     */
    protected get client(): import("../services/jobNimbusClient.js").JobNimbusClient;
}
//# sourceMappingURL=baseTool.d.ts.map