convert_format
Transform image files into various formats like JPEG, PNG, or WebP using specified paths and quality settings for compatible formats.
Instructions
Convert an image to a different format
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| format | Yes | Target format: jpeg, png, webp, avif, tiff, etc. | |
| input | Yes | Path to the input image file | |
| output | Yes | Path to save the converted image | |
| quality | No | Quality level (1-100, for formats that support it) | 
Input Schema (JSON Schema)
{
  "properties": {
    "format": {
      "description": "Target format: jpeg, png, webp, avif, tiff, etc.",
      "enum": [
        "jpeg",
        "png",
        "webp",
        "avif",
        "tiff",
        "gif"
      ],
      "type": "string"
    },
    "input": {
      "description": "Path to the input image file",
      "type": "string"
    },
    "output": {
      "description": "Path to save the converted image",
      "type": "string"
    },
    "quality": {
      "description": "Quality level (1-100, for formats that support it)",
      "type": "number"
    }
  },
  "required": [
    "input",
    "output",
    "format"
  ],
  "type": "object"
}