{
  "name": "CompressFile.pro",
  "description": "Browser-based image compression tools for PNG, JPEG, WebP, and AVIF formats. All processing happens client-side.",
  "url": "https://compressfile.pro",
  "tools": [
    {
      "name": "compress-image",
      "description": "Compress an image using the browser Canvas API. Accepts a base64 data URL and returns a compressed base64 data URL. All processing happens client-side — no data is uploaded.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "dataUrl": {
            "type": "string",
            "description": "Base64 data URL of the source image (e.g. data:image/png;base64,...)"
          },
          "quality": {
            "type": "number",
            "description": "Compression quality from 1 to 100. Ignored for PNG. Default: 80.",
            "minimum": 1,
            "maximum": 100,
            "default": 80
          },
          "format": {
            "type": "string",
            "description": "Output format. Default: webp.",
            "enum": ["jpeg", "webp", "png", "avif"],
            "default": "webp"
          },
          "maxWidth": {
            "type": "number",
            "description": "Maximum output width in pixels. Image is scaled down proportionally if wider. Default: 1920.",
            "minimum": 1,
            "maximum": 8192,
            "default": 1920
          }
        },
        "required": ["dataUrl"]
      }
    },
    {
      "name": "get-supported-formats",
      "description": "Returns the list of image output formats the current browser supports for Canvas encoding.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ]
}
