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).

15 lines (14 loc) 648 B
import type { InitToolResponse } from '../../schemas/index.js'; /** * Core logic for the Init tool. * @param projectRoot - The root directory of the project to initialize. * @returns A promise that resolves to an InitToolResponse. */ export declare function executeInit(projectRoot: string): Promise<InitToolResponse>; /** * Validates arguments and executes the Init tool. * This is the primary entry point for the MCP tool. * @param args - The arguments for the tool, matching InitToolSchema. * @returns A promise that resolves to an InitToolResponse. */ export declare function executeInitTool(args: unknown): Promise<InitToolResponse>;