image-converter-mcp
Version:
image-converter MCP server
23 lines (22 loc) • 639 B
JavaScript
// 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;
}
}