@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
46 lines (45 loc) • 1.62 kB
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* Analyze task complexity and suggest task breakdown for overly complex tasks
* This tool implements intelligent complexity analysis and task splitting suggestions
*/
export declare function createComplexityAnalysisTool(storage: Storage, getWorkingDirectoryDescription: (config: any) => string, config: any): {
name: string;
description: string;
inputSchema: z.ZodObject<{
workingDirectory: z.ZodString;
taskId: z.ZodOptional<z.ZodString>;
projectId: z.ZodOptional<z.ZodString>;
complexityThreshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
suggestBreakdown: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
autoCreateSubtasks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
workingDirectory: string;
complexityThreshold: number;
suggestBreakdown: boolean;
autoCreateSubtasks: boolean;
projectId?: string | undefined;
taskId?: string | undefined;
}, {
workingDirectory: string;
projectId?: string | undefined;
taskId?: string | undefined;
complexityThreshold?: number | undefined;
suggestBreakdown?: boolean | undefined;
autoCreateSubtasks?: boolean | undefined;
}>;
handler: (args: any) => Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: undefined;
}>;
};