@steipete/peekaboo-mcp
Version:
A macOS utility exposed via Node.js MCP server for advanced screen captures, image analysis, and window management
32 lines • 870 B
TypeScript
import { z } from "zod";
interface JSONSchema {
type?: string | string[];
properties?: Record<string, JSONSchema>;
items?: JSONSchema;
required?: string[];
enum?: unknown[];
const?: unknown;
description?: string;
default?: unknown;
additionalProperties?: boolean | JSONSchema;
anyOf?: JSONSchema[];
allOf?: JSONSchema[];
oneOf?: JSONSchema[];
not?: JSONSchema;
minimum?: number;
maximum?: number;
minLength?: number;
maxLength?: number;
minItems?: number;
maxItems?: number;
pattern?: string;
format?: string;
$ref?: string;
}
/**
* Convert Zod schema to JSON Schema format
* This is a robust converter for common Zod types used in the tools
*/
export declare function zodToJsonSchema(schema: z.ZodTypeAny): JSONSchema;
export {};
//# sourceMappingURL=zod-to-json-schema.d.ts.map