mcp-image-downloader

optimize_image

Create an optimized version of an image

Input Schema

NameRequiredDescriptionDefault
heightNoTarget height (maintains aspect ratio if only height is specified)
inputPathYesPath to the input image
outputPathYesPath where to save the optimized image
qualityNoJPEG/WebP quality (1-100)
widthNoTarget width (maintains aspect ratio if only width is specified)

Input Schema (JSON Schema)

{ "properties": { "height": { "description": "Target height (maintains aspect ratio if only height is specified)", "type": "number" }, "inputPath": { "description": "Path to the input image", "type": "string" }, "outputPath": { "description": "Path where to save the optimized image", "type": "string" }, "quality": { "description": "JPEG/WebP quality (1-100)", "maximum": 100, "minimum": 1, "type": "number" }, "width": { "description": "Target width (maintains aspect ratio if only width is specified)", "type": "number" } }, "required": [ "inputPath", "outputPath" ], "type": "object" }

You must be authenticated.

Other Tools