resize_image
Creates a resized copy of an image next to the original, letting you set width, height, and output format (webp, jpg, png, avif).
Instructions
Write a resized copy of an image next to the original.
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": {
"file": "<file>"
},
"name": "resize_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| width | No | ||
| format | No | webp | |
| height | No |