@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
35 lines (34 loc) • 816 B
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* Create a new subtask within a task
*
* @param storage - Storage instance
* @returns MCP tool handler for creating subtasks
*/
export declare function createCreateSubtaskTool(storage: Storage): {
name: string;
description: string;
inputSchema: {
name: z.ZodString;
details: z.ZodString;
taskId: z.ZodString;
};
handler: ({ name, details, taskId }: {
name: string;
details: string;
taskId: string;
}) => Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: undefined;
}>;
};