@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
33 lines (32 loc) • 771 B
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* Delete a project and all associated tasks and subtasks
*
* @param storage - Storage instance
* @returns MCP tool handler for deleting projects
*/
export declare function createDeleteProjectTool(storage: Storage): {
name: string;
description: string;
inputSchema: {
id: z.ZodString;
confirm: z.ZodBoolean;
};
handler: ({ id, confirm }: {
id: string;
confirm: boolean;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: undefined;
}>;
};