image_info
Extract width, height, format, mode, file size, and capped EXIF tags from a local image file to inspect metadata before conversion or editing.
Instructions
Image metadata: width, height, format, mode, file size, and EXIF tags (capped).
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": {
"input_path": "<input_path>"
},
"name": "image_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exif | No | Up to 50 EXIF tags; values cut at 200 characters. | |
| mode | Yes | ||
| width | Yes | ||
| format | Yes | ||
| height | Yes | ||
| file_bytes | Yes | ||
| exif_truncated | No |