shrink_photo
Resize and compress JPEG or iPhone HEIC photos to reduce file size, with controls for maximum side length and quality; saves output locally.
Instructions
Make a photo smaller (JPEG). Works with HEIC from an iPhone. max_side is the longest side in pixels.
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": {
"path": "<path>"
},
"name": "shrink_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| quality | No | ||
| max_side | No |