Photos Search
photos_searchSearch a Google Photos library using Google's own search for people, places, things, text in images, and dates, including archived items, with filters for photos or videos and paged results.
Instructions
Search the library with Google Photos' own search (people, places, things, text in images, dates; archived items included). Returns items {id, url, type, taken_at, tz_known, filename, description, place, favourite, archived}, next_cursor, coverage and freshness. place is null here (Google's search response has none) unless details=true, which also adds lat, lon and camera.
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": {
"query": "<query>"
},
"name": "photos_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Items per page (1-50) | |
| media | No | Only photos, only videos, or all (default) | all |
| query | Yes | What you'd type into Google Photos search | |
| cursor | No | next_cursor from the previous page | |
| details | No | Also lat, lon and camera per item, and place where missing (limit up to 20; one more request) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||