image-tools-mcp

by kshern
Verified

compress_image_from_url

Compress a single image from URL using TinyPNG API (only supports image files, not folders)

Input Schema

NameRequiredDescriptionDefault
optionsYesOptions for compressing image from URL

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "options": { "additionalProperties": false, "description": "Options for compressing image from URL", "properties": { "imageUrl": { "description": "URL of the image to compress (must be a direct link to an image file)", "type": "string" }, "outputFormat": { "description": "Output format (webp, jpeg/jpg, png)", "enum": [ "webp", "jpeg", "jpg", "png" ], "type": "string" } }, "required": [ "imageUrl" ], "type": "object" } }, "required": [ "options" ], "type": "object" }