Photo Query
photo_querySearch the photo archive. q is free text scored per term across caption, EXIF and an offline term expansion, so "classic chrome bridge" matches film and subject; camera, lens, film, recipe and from/to are exact filters. Results carry score, matched (fields that answered) and a recipe card of in-camera settings. ranking.mode is all-terms, partial or no-match; ranking.dropped and ranking.common name ignored terms. GPS and unlisted EXIF are never returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "photo_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | free-text query, ranked; multiple words are scored independently | |
| to | No | inclusive YYYY-MM-DD prefix | |
| film | No | film simulation name, e.g. "Classic Chrome", "Nostalgic Neg", "Acros" | |
| from | No | inclusive YYYY-MM-DD prefix | |
| lens | No | Case-insensitive substring of the lens. | |
| limit | No | Page size. Values outside the range are clamped, and a non-number falls back to the default. | |
| camera | No | Case-insensitive substring of the camera. | |
| offset | No | Rows to skip. | |
| recipe | No | substring match anywhere in the recipe card, e.g. "DR400", "Clarity: -2", "Grain Effect: Strong, Large", "+2 Red" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | The normalized filters, empty strings when absent. | |
| total | Yes | ||
| offset | No | ||
| photos | Yes | ||
| ranking | No |