Aspect Ratio Calculator (Resize & Crop)
aspect_ratio_calculatorAspect Ratio Calculator (Resize & Crop) — Simplify an aspect ratio and resize while keeping it. Enter width and height to get the ratio like 16:9, then a new width to solve the matching height.
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": {
"width": "<width>",
"height": "<height>",
"newWidth": "<newWidth>"
},
"name": "aspect_ratio_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| newWidth | Yes |