Image Resizer
image-resizerResize images to exact pixel dimensions with aspect ratio lock.
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>"
},
"name": "image-resizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Resize fit mode (contain=fit within, cover=fill & crop, fill=stretch) | contain |
| image | Yes | Base64-encoded image (PNG, JPEG, WebP, AVIF, TIFF, GIF supported) | |
| width | No | Target width in pixels | |
| format | No | Output image format | png |
| height | No | Target height in pixels | |
| quality | No | Output quality (1-100, for lossy formats) |