query
Search your Apple Photos library using filters like album, keyword, person, date range, or favorite status. Returns photo summaries with UUIDs for further details.
Instructions
Search the Photos library. Combine filters (album, keyword, person, date range, favorite, hidden, photo/movie type, title/description substrings) to narrow results. Returns photo summaries with UUIDs — use get-photo for full details on a specific match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | No | Path to a .photoslibrary (default: system Photos library) | |
| uuid | No | Specific UUIDs to fetch | |
| album | No | Album name(s); ANY-match | |
| keyword | No | Keyword(s); ANY-match | |
| person | No | Person name(s); ANY-match | |
| fromDate | No | ISO 8601 lower bound on photo date | |
| toDate | No | ISO 8601 upper bound on photo date | |
| favorite | No | Only favorites | |
| notFavorite | No | Exclude favorites | |
| hidden | No | Only hidden photos | |
| notHidden | No | Exclude hidden photos (default behavior) | |
| photos | No | Include still photos | |
| movies | No | Include movies | |
| title | No | Substring match on title | |
| description | No | Substring match on description | |
| limit | No | Cap the number of results |