process_image
Process an image: resize, convert (png/jpeg/webp), compress, or square thumbnail. Input and output are base64.
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": {
"product": "<product>",
"image_b64": "<image_b64>"
},
"name": "process_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| width | No | ||
| format | No | ||
| height | No | ||
| product | Yes | ||
| quality | No | ||
| image_b64 | Yes | Source image, base64 |