/** * Tool Handler Barrel * * Composes all tool group modules and exposes the public API: * - getTools(): returns filtered tool definitions for the MCP server * - callTool(): dispatches a tool call by name * * Each group module owns its: * - Input/output Zod schemas * - Tool definitions (name, description, group, annotations) * - Handler implementations (with try/catch + formatHandlerError) */ import type { ToolFilterConfig, ToolRegistration, ToolHandlerConfig } from '../../types/index.js'; import type { IDatabaseAdapter } from '../../database/core/interfaces.js'; import type { VectorSearchManager } from '../../vector/vector-search-manager/index.js'; import type { GitHubIntegration } from '../../github/github-integration/index.js'; import type { ProgressContext } from '../../utils/progress-utils.js'; import { ARG_ALIASES, BOOLEAN_COERCIONS, NUMBER_COERCIONS, applyArgInterceptions, injectProjectNames } from './arg-interceptions.js'; export type { ToolHandlerConfig }; export { ARG_ALIASES, BOOLEAN_COERCIONS, NUMBER_COERCIONS, applyArgInterceptions, injectProjectNames, }; /** * Get all tool definitions, optionally filtered by config */ export declare function getTools(db: IDatabaseAdapter, filterConfig: ToolFilterConfig | null, vectorManager?: VectorSearchManager, github?: GitHubIntegration, config?: ToolHandlerConfig, teamDb?: IDatabaseAdapter, teamVectorManager?: VectorSearchManager): ToolRegistration[]; /** * Call a tool by name */ export declare function callTool(name: string, args: Record, db: IDatabaseAdapter, vectorManager?: VectorSearchManager, github?: GitHubIntegration, config?: ToolHandlerConfig, progress?: ProgressContext, teamDb?: IDatabaseAdapter, teamVectorManager?: VectorSearchManager): Promise; //# sourceMappingURL=index.d.ts.map