UNPKG

@pimzino/agentic-tools-mcp

Version:

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

44 lines (43 loc) 1.82 kB
import { z } from 'zod'; import { Storage } from '../../storage/storage.js'; /** * Generate intelligent web search queries for task research * This tool helps AI agents perform more effective web research by providing * structured, targeted search queries based on task analysis */ export declare function createResearchQueriesGeneratorTool(storage: Storage, getWorkingDirectoryDescription: (config: any) => string, config: any): { name: string; description: string; inputSchema: z.ZodObject<{ workingDirectory: z.ZodString; taskId: z.ZodString; queryTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["implementation", "best_practices", "troubleshooting", "alternatives", "performance", "security", "examples", "tools"]>, "many">>; includeAdvanced: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; targetYear: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { taskId: string; workingDirectory: string; includeAdvanced: boolean; targetYear: number; queryTypes?: ("implementation" | "security" | "performance" | "best_practices" | "troubleshooting" | "alternatives" | "examples" | "tools")[] | undefined; }, { taskId: string; workingDirectory: string; queryTypes?: ("implementation" | "security" | "performance" | "best_practices" | "troubleshooting" | "alternatives" | "examples" | "tools")[] | undefined; includeAdvanced?: boolean | undefined; targetYear?: number | undefined; }>; handler: (args: any) => Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | { content: { type: "text"; text: string; }[]; isError?: undefined; }>; };