UNPKG

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.

11 lines (10 loc) 414 B
import type { CallToolRequest, Tool } from "@modelcontextprotocol/sdk/types.js"; import type { JSONSchema7 } from "json-schema"; /** * Validates a tool request and returns the tool configuration if valid */ export declare function validateToolRequest(request: CallToolRequest): Tool; /** * Gets the schema for a tool by name */ export declare function getToolSchema(toolName: string): JSONSchema7 | undefined;