image_thumbnail
Creates a compact preview of an image while retaining the original aspect ratio, reducing file size for faster loading and convenient sharing.
Instructions
Create a small preview version of an image (aspect ratio preserved).
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_path": "<image_path>"
},
"name": "image_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Max dimension in px. Default 320. | |
| image_path | Yes | Local path to the image |