ToolBox MCP Server

by xiaoguomeiyitian
Verified

image_tool

Optimize and process images, including compression, resizing, and format conversion, in bulk or recursively. Supports sync/async modes and customizable quality settings for seamless integration into workflows.

Input Schema

NameRequiredDescriptionDefault
backupDirNoBackup directory path (optional)
formatNoOutput format
modeNoExecution mode (sync or async)sync
outputPathNoOutput directory path (defaults to source)
qualityNoCompression quality (1-100, defaults to 75)
recursiveNoProcess subdirectories recursively
resizeNoResize options
sourcePathYesSource file or directory path

Input Schema (JSON Schema)

{ "description": "Compress images, batch process files/dirs.", "name": "img_tool", "properties": { "backupDir": { "description": "Backup directory path (optional)", "type": "string" }, "format": { "description": "Output format", "enum": [ "jpeg", "png", "webp", "avif", "tiff", "gif" ], "type": "string" }, "mode": { "default": "sync", "description": "Execution mode (sync or async)", "enum": [ "sync", "async" ], "type": "string" }, "outputPath": { "description": "Output directory path (defaults to source)", "type": "string" }, "quality": { "default": 75, "description": "Compression quality (1-100, defaults to 75)", "maximum": 100, "minimum": 1, "type": "number" }, "recursive": { "default": false, "description": "Process subdirectories recursively", "type": "boolean" }, "resize": { "description": "Resize options", "properties": { "height": { "description": "Height", "type": "number" }, "width": { "description": "Width", "type": "number" } }, "type": "object" }, "sourcePath": { "description": "Source file or directory path", "type": "string" } }, "required": [ "sourcePath" ], "type": "object" }

You must be authenticated.

Other Tools from ToolBox MCP Server

Related Tools

ID: 1mviic5ax5