UNPKG

image-converter-mcp

Version:
23 lines (22 loc) 639 B
// src/prompts/GetWebpFromPngPrompt.ts import { z } from "zod"; export const GetWebpFromPngPromptSchema = z.object({ imageUrl: z .string() .url() .describe("URL of the PNG image to convert to WebP"), quality: z .number() .min(1) .max(100) .optional() .default(80) .describe("Quality of the WebP image (1-100)"), }); export class GetWebpFromPngPrompt { name = "get_webp_from_png"; description = "Takes a URL of a PNG image and returns a WebP image. (This is a placeholder prompt)"; get schema() { return GetWebpFromPngPromptSchema; } }