import type { JSONSchema } from "../models/types.js"; /** * Validate tool call arguments against the tool's JSON Schema. * Returns null if valid, or a descriptive error string if invalid. * * Supports the JSON Schema subset used by our tool definitions: * - type: "object", "string", "number", "integer", "boolean", "array" * - required: string[] (required property names) * - properties: Record (property schemas) * - enum: any[] (allowed values) * - items: schema (array item schema) * - minimum, maximum (number bounds) * - minLength, maxLength (string bounds) */ export declare function validateToolArgs(args: unknown, schema: JSONSchema, toolName: string): string | null; //# sourceMappingURL=validate-args.d.ts.map