UNPKG

@pimzino/agentic-tools-mcp

Version:

A comprehensive MCP server for task management and agent memories with JSON file storage

31 lines (30 loc) 692 B
import { z } from 'zod'; import { MemoryStorage } from '../../storage/storage.js'; /** * Get a specific memory by ID * * @param storage - Memory storage instance * @returns MCP tool handler for getting memories */ export declare function createGetMemoryTool(storage: MemoryStorage): { name: string; description: string; inputSchema: { id: z.ZodString; }; handler: ({ id }: { id: string; }) => Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | { content: { type: "text"; text: string; }[]; isError?: undefined; }>; };