mcp-casual-interview
Version:
MCP server for casual interview preparation workflow management
25 lines • 852 B
JavaScript
import { z } from 'zod';
/**
* Available prompt names
*/
export const PromptName = z.enum([
'init_attract'
]);
/**
* Input schema for prompts tool
*/
export const inputSchema = z.object({
name: PromptName.describe('The name of the prompt to retrieve'),
variables: z.record(z.string(), z.string()).optional().describe('Variables to substitute in the prompt template (key-value pairs)')
});
/**
* Output schema for prompts tool
*/
export const outputSchema = z.object({
name: z.string().describe('The name of the prompt'),
content: z.string().describe('The prompt content with variables substituted'),
variables_used: z.array(z.string()).describe('List of variable keys that were substituted in the prompt')
});
// Type exports for registration
export const toolParams = inputSchema.shape;
//# sourceMappingURL=schema.js.map