UNPKG

@pimzino/agentic-tools-mcp

Version:

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

35 lines (34 loc) 840 B
import { z } from 'zod'; import { Storage } from '../../storage/storage.js'; /** * Update an existing project * * @param storage - Storage instance * @returns MCP tool handler for updating projects */ export declare function createUpdateProjectTool(storage: Storage): { name: string; description: string; inputSchema: { id: z.ZodString; name: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }; handler: ({ id, name, description }: { id: string; name?: string; description?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | { content: { type: "text"; text: string; }[]; isError?: undefined; }>; };