@vfarcic/dot-ai
Version:
Universal Kubernetes application deployment agent with CLI and MCP interfaces
27 lines • 1.07 kB
TypeScript
/**
* Answer Question Tool - Process user answers and return remaining questions
*/
import { z } from 'zod';
import { DotAI } from '../core/index';
import { Logger } from '../core/error-handling';
export declare const ANSWERQUESTION_TOOL_NAME = "answerQuestion";
export declare const ANSWERQUESTION_TOOL_DESCRIPTION = "Process user answers and return remaining questions or completion status. For open stage, use \"open\" as the answer key.";
export declare const ANSWERQUESTION_TOOL_INPUT_SCHEMA: {
solutionId: z.ZodString;
stage: z.ZodEnum<["required", "basic", "advanced", "open"]>;
answers: z.ZodRecord<z.ZodString, z.ZodAny>;
};
/**
* Direct MCP tool handler for answerQuestion functionality
*/
export declare function handleAnswerQuestionTool(args: {
solutionId: string;
stage: 'required' | 'basic' | 'advanced' | 'open';
answers: Record<string, any>;
}, dotAI: DotAI, logger: Logger, requestId: string): Promise<{
content: {
type: 'text';
text: string;
}[];
}>;
//# sourceMappingURL=answer-question.d.ts.map