search_suggestions
Retrieve distinct metadata values from the photo library before filtering by location or camera, ensuring search queries match exact spellings and avoid empty results.
Instructions
Distinct values present in the library for one field — the exact spellings search_metadata expects. Use this before filtering by city or camera to avoid guessing (e.g. 'iPhone 14 Pro' vs 'iPhone14,3'). Read-only.
Args:
suggestion_type: One of 'country', 'state', 'city', 'camera-make',
'camera-model', 'camera-lens-model'.
country: Narrow city/state suggestions to this country.
state: Narrow city suggestions to this state.
make: Narrow model suggestions to this camera make.
model: Narrow lens suggestions to this camera model.
Returns: JSON with total and a suggestions array of strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| make | No | ||
| model | No | ||
| state | No | ||
| country | No | ||
| suggestion_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |