get_timeline_buckets
Get a month-by-month overview of your photo library, showing asset counts per month. Use it to spot gaps or busy periods, or filter by album, person, tag, or favorites before fetching assets.
Instructions
Month-by-month map of the library: one bucket per month with its asset count. Use this before fetching assets — it shows in one cheap call which months hold photos and how many, ideal for finding gaps, busy periods, or navigating a large library without paging through everything. Read-only.
Args:
album_id: Only count assets in this album.
person_id: Only count assets showing this person.
tag_id: Only count assets carrying this tag.
is_favorite: If true, only count favorites.
order: 'desc' for newest month first (the default), 'asc' for oldest first.
Returns: JSON with total_buckets and a buckets array of {timeBucket, count},
newest month first unless order='asc'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| tag_id | No | ||
| album_id | No | ||
| person_id | No | ||
| is_favorite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |