/** * ToolHandler — Executes eddie-brain tools without MCP transport * * Replicates the dispatch logic from mcp/server.ts but calls * KnowledgeGraph/TokenValidator/NamingValidator/HealthScorer directly. * Returns plain strings instead of MCP content objects. */ import type { KnowledgeGraph } from '../knowledge-graph/index.js'; import type { EddieTool } from './types.js'; export declare function setDesignSystemsMcpHandler(handler: (toolName: string, input: Record) => Promise): void; /** Tool input/output description for Anthropic API tool definitions */ export interface ToolDefinition { name: string; description: string; input_schema: Record; } /** * Execute an eddie-brain tool call and return the result as a string. */ export declare function executeToolCall(toolName: EddieTool, toolInput: Record, knowledgeGraph: KnowledgeGraph, rootDir: string): Promise; /** * Build Anthropic API tool definitions for the specified tools. */ export declare function buildToolDefinitions(tools: EddieTool[]): ToolDefinition[]; //# sourceMappingURL=tool-handler.d.ts.map