UNPKG

systemprompt-mcp-gmail

Version:

A specialized Model Context Protocol (MCP) server that enables you to search, read, delete and send emails from your Gmail account, 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;