@iflow-mcp/coolver-home-assistant-mcp
Version:
Enable Cursor, VS Code, Claude Code or any MCP-enabled IDE to help you vibecode and manage Home Assistant: create automations, design dashboards, tweak themes, modify configs, and deploy changes using natural language
20 lines • 508 B
TypeScript
/**
* Tool Handlers Registry
* Maps tool names to handler functions
*/
import { HAClient } from './ha-client.js';
type ToolHandler = (client: HAClient, args: any) => Promise<{
content: Array<{
type: string;
text: string;
}>;
isError?: boolean;
}>;
/**
* Tool Handlers Registry
*
* Each handler is a function that takes (client, args) and returns a response
*/
export declare const toolHandlers: Record<string, ToolHandler>;
export {};
//# sourceMappingURL=handlers.d.ts.map