get_image_dimensions
Retrieve an image's width, height, and format to calculate accurate annotation coordinates before placing markers and callouts.
Instructions
Get width, height, and format of an image. Essential for calculating annotation coordinates.
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": "get_image_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | Absolute path to the image |