UNPKG

@noanswer/context-compose

Version:

Orchestrate complex AI interactions with Context Compose. A powerful CLI and server for building, validating, and managing context for large language models using the Model Context Protocol (MCP).

38 lines (37 loc) 990 B
import { z } from 'zod'; /** * Get Context tool schema * Defines input parameters for the tool that gets context for specific tasks in Task Action projects. */ export declare const GetContextToolSchema: z.ZodObject<{ contextId: z.ZodString; projectRoot: z.ZodString; enhancedPrompt: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { contextId: string; projectRoot: string; enhancedPrompt: boolean; }, { contextId: string; projectRoot: string; enhancedPrompt?: boolean | undefined; }>; /** * Get Context tool input type */ export type GetContextToolInput = z.infer<typeof GetContextToolSchema>; /** * Get Context tool response type */ export interface GetContextToolResponse { success: boolean; message: string; contextId: string; combinedPrompt?: string; files?: { workflow?: string; rules?: string[]; mcps?: string[]; [key: string]: string | string[] | undefined; }; }