convert_image_format
Convert image format between PNG, JPG, and WEBP.
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": {
"fileUrl": "<fileUrl>",
"toFormat": "<toFormat>"
},
"name": "convert_image_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUrl | Yes | Image file URL | |
| quality | No | ||
| toFormat | Yes | webp |