resize_image
Resize and compress a base64-encoded image.
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>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64-encoded image data | |
| width | Yes | Target width in pixels | |
| format | No | Output format | png |
| height | Yes | Target height in pixels | |
| quality | No | JPEG quality (1-100) |