search_random
Pick random photos from your Immich library, optionally filtered by location, camera, favorite status, or OCR text, to survey matches or spot-check large collections.
Instructions
Random assets from the library, optionally filtered. Use this for sampling — a quick feel of what a filter matches, a surprise pick for a story, or spot checks over a big library. Read-only.
Args:
size: How many random assets to return (default 10, max 100).
city: Only assets from this city.
country: Only assets from this country.
make: Only assets from this camera make.
model: Only assets from this camera model.
is_favorite: If true, only favorites.
ocr: Only assets whose recognized text matches (needs OCR on the server).
Returns: JSON with the matching assets array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | ||
| city | No | ||
| make | No | ||
| size | No | ||
| model | No | ||
| country | No | ||
| is_favorite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |