systemprompt-mcp-reddit
Version:
A specialized Model Context Protocol (MCP) server that enables you to search, read, and interact with Reddit content, leveraging an AI Agent to help with each operation.
10 lines (9 loc) • 343 B
TypeScript
import type { JSONSchema7 } from "json-schema";
/**
* Validates data against a schema and throws an error with details if validation fails
*/
export declare function validateWithErrors(data: unknown, schema: JSONSchema7): void;
/**
* Validates a request against a schema
*/
export declare function validateRequest(request: unknown): void;