aspect_ratio
Compute reduced aspect ratios from width and height, or scale width or height to a target ratio.
Instructions
Compute the reduced aspect ratio (16:9, 4:3, 21:9, ...) from a width and height; OR scale a given width OR height to a target ratio.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aspect_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | e.g. "16:9", "4:3", "1.85:1". | |
| width | No | ||
| height | No |