get-photo
Retrieve complete metadata for a single photo by its UUID, including dimensions, dates, location, EXIF data, and more.
Instructions
Use when: you have a single photo's UUID (typically from query) and want its complete metadata. Returns: dimensions and original dimensions, dates, title/description, location and place, albums, keywords, persons, labels, file paths, size, EXIF camera data (make/model, lens, ISO, aperture, shutter speed, focal length — null when Photos recorded none), Photos' ML intelligence (score = overall aesthetic 0–1, detectedText = OCR-indexed text; null on macOS versions without them), iCloud shared-album social data (owner, comments, likes — only populated for shared assets), and type flags (HDR/live/raw/edited/portrait/panorama/etc.). Pass burstPhotos=true to also list the sibling frames of a burst (UUID, filename, date each). Do not use when: you don't have a UUID yet — use query to find matches first; you have several UUIDs — use get-photos for one batched call; or you want to see the image — use get-thumbnail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Photo UUID (hex-with-dashes, as returned by query) | |
| library | No | Path to a .photoslibrary (default: system Photos library) | |
| burstPhotos | No | true = include burstPhotos: the OTHER frames of this photo's burst set (empty when the photo is not a burst member) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | No |