mcp-casual-interview
Version:
MCP server for casual interview preparation workflow management
23 lines • 1.11 kB
JavaScript
import { z } from 'zod';
// Input schema - no parameters required for reset
export const workflowResetSchema = z.object({});
// Workflow state enum matching domain types
const WorkflowState = z.enum([
'information_initially_registered',
'career_summary_created',
'match_position_determined',
'match_degree_prediagnosed',
'attract_plan_determined',
'completed'
]);
// Output schema for structured response
export const workflowResetOutputSchema = z.object({
success: z.boolean().describe('リセット操作の成功可否'),
previousState: WorkflowState.nullable().describe('リセット前のワークフロー状態'),
currentState: WorkflowState.describe('リセット後のワークフロー状態(常に"information_initially_registered")'),
notionPageUrl: z.string().nullable().describe('NotionページURL(リセット後はnull)'),
lastUpdated: z.string().describe('最終更新日時'),
message: z.string().describe('リセット完了メッセージ')
});
export const toolParams = workflowResetSchema.shape;
//# sourceMappingURL=schema.js.map