WebP Converter
WebPConverterWebP Converter: WebP Converter transforms WebP images to classic formats like PNG and JPG, or converts other formats to WebP for better compression. Essential for handling modern web images. (Cost: 10 credits)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>",
"outputFormat": "<outputFormat>"
},
"name": "WebPConverter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Upload an image file to convert (supported formats: WebP, PNG, JPG, GIF) | |
| quality | No | Output quality (applies to jpg/webp) | |
| maxWidth | No | Maximum width in pixels (maintains aspect ratio) | |
| maxHeight | No | Maximum height in pixels (maintains aspect ratio) | |
| outputFormat | Yes | Target format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |