aspect_ratio
Calculate the aspect ratio from pixel width and height to quickly compare image or screen dimensions.
Instructions
Calculate the aspect ratio of given width and 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>"
},
"name": "aspect_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Width in pixels. | |
| height | Yes | Height in pixels. |