/** * Shared Error Handler for MCP Tools * * Centralized error handling logic for all MCP tools. * Handles validation errors, GraphQL errors, and generic errors. */ import { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; /** * Handle errors consistently across all MCP tools * * @param error - The error to handle * @param toolName - The name of the tool where the error occurred * @returns Standardized error response */ export declare function handleToolError(error: unknown, toolName: string): CallToolResult; //# sourceMappingURL=tool-error-handler.d.ts.map