Choose an image format
recommend_image_formatRecommends JPG, PNG, WebP, AVIF, SVG or GIF for a given image and destination, with the trade-offs and measured size change from Pixohub's conversion tests.
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": {
"content": "<content>",
"destination": "<destination>"
},
"name": "recommend_image_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | What the image is. | |
| destination | Yes | Where it will be used. | |
| transparency | No | Does it need a transparent background? | |
| current_format | No | The format it is in now (jpg, png, heic, webp…), to get a conversion link and our measured result. |