Inspect an image
image_infoRead an image's metadata without modifying it: dimensions, format, colour mode, animation frames, EXIF, perceptual hashes, and dominant colours. Helps with inspection and duplicate detection.
Instructions
Read an image's metadata without modifying it: dimensions, format, colour mode, animation frames, EXIF, perceptual hashes and dominant colours.
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": "image_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | http(s) URL to fetch. Disabled unless PICTOR_ALLOW_NET_FETCH=true. | |
| path | No | Path to the image, relative to an allowed input root (or absolute inside one). | |
| base64_data | No | Inline image bytes as base64, optionally a data: URI. | |
| include_exif | No | Include decoded EXIF tags. | |
| include_hashes | No | Include perceptual hashes for duplicate detection. | |
| include_colours | No | Include the dominant colour palette. | |
| max_exif_entries | No | Cap on returned EXIF entries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| exif | No | ||
| image | Yes | ||
| notes | No | ||
| hashes | No | ||
| operation | No | image_info | |
| dominantColours | No |