/** * Tool Schema Validator for LLM Provider Compatibility * * Validates tool schemas at runtime to catch issues that would cause * failures with strict providers like Google Gemini. * * Google Gemini Requirements: * 1. enum values must be strings (not numbers) * 2. enum is only allowed for STRING type parameters */ export interface ValidationIssue { tool: string; property: string; issue: string; severity: 'error' | 'warning'; } /** * Validate a single tool's schema for provider compatibility */ export declare function validateToolSchema(tool: any): ValidationIssue[]; /** * Validate all tools and return issues */ export declare function validateTools(tools: any[]): ValidationIssue[]; /** * Validate tools and log any issues found * Returns true if validation passes (no errors), false otherwise */ export declare function validateAndLogTools(tools: any[], context?: string): boolean; /** * Fix common schema issues automatically * Returns a new array of tools with fixes applied */ export declare function autoFixToolSchemas(tools: any[]): any[]; //# sourceMappingURL=tool-schema-validator.d.ts.map