@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
31 lines (30 loc) • 670 B
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* Get task details by ID
*
* @param storage - Storage instance
* @returns MCP tool handler for getting task details
*/
export declare function createGetTaskTool(storage: Storage): {
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;
}>;
};