@codewithdan/ai-repo-adventure-mcp
Version:
MCP server for AI-powered code repository exploration through interactive storytelling
79 lines • 2.1 kB
TypeScript
/**
* Choose Theme Tool
*
* Creates a complete themed adventure experience using advanced LLM prompt
* engineering and optional adventure.config.json guidance.
*/
import { z } from 'zod';
declare const chooseThemeSchema: z.ZodObject<{
theme: z.ZodString;
customTheme: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
keywords: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
keywords: string[];
}, {
name: string;
description: string;
keywords: string[];
}>>;
}, "strip", z.ZodTypeAny, {
theme: string;
customTheme?: {
name: string;
description: string;
keywords: string[];
} | undefined;
}, {
theme: string;
customTheme?: {
name: string;
description: string;
keywords: string[];
} | undefined;
}>;
type ChooseThemeArgs = z.infer<typeof chooseThemeSchema>;
export declare const chooseTheme: {
description: string;
schema: z.ZodObject<{
theme: z.ZodString;
customTheme: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
keywords: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
keywords: string[];
}, {
name: string;
description: string;
keywords: string[];
}>>;
}, "strip", z.ZodTypeAny, {
theme: string;
customTheme?: {
name: string;
description: string;
keywords: string[];
} | undefined;
}, {
theme: string;
customTheme?: {
name: string;
description: string;
keywords: string[];
} | undefined;
}>;
handler: (args: ChooseThemeArgs) => Promise<{
content: {
type: "text";
text: string;
}[];
}>;
};
export {};
//# sourceMappingURL=choose-theme.d.ts.map