search_stock_photos

Search stock photos

Description

Agent-facing description — the exact text a connected model receives for this tool.

Search commercial stock-photo libraries and get back a NUMBERED CONTACT SHEET image plus structured results (ids, buy links, attribution). Provide 1-4 SHORT, CONCRETE visual phrases (2-6 words each) describing photographic subjects — e.g. 'doctor patient consultation', 'stethoscope on wooden desk'. Decompose a design brief into distinct subjects rather than sending art-direction prose. Look at the sheet, pick by badge number, then call get_image for a full-size watermarked comp of the chosen asset. Results are ordered by the vendor's all-time popularity ranking unless you pass sort — use 'newest' for fresh/less-used imagery or 'relevance' for tighter keyword matches.

Input

ParameterTypeRequiredDescription
queriesarray of stringyes1-4 short concrete visual subjects, 2-6 words eachitems: 1–4 · each: 2–80 chars
orientationenumnoone of: 'horizontal', 'vertical'
colorstringnoDominant color as hex without '#', e.g. 4F21EA
peopleintegernoNumber of people in the photorange: 0–4
sortenumnoResult ordering: 'popular' (vendor all-time popularity — safe but cliché-prone), 'newest', or 'relevance' (keyword match strength)one of: 'popular', 'newest', 'relevance' · default: 'popular'

Output

Returned as structured content alongside the tool's text and image content.

ParameterTypeRequiredDescription
resultsarray of objectyes
sortenumyesOrdering the vendor applied to these resultsone of: 'popular', 'newest', 'relevance'
shownintegeryesResults on the contact sheetrange: -9007199254740991–9007199254740991
totalAvailableintegeryesLargest vendor-reported match count across the queriesrange: -9007199254740991–9007199254740991
warningsarray of stringnoPer-query failures (e.g. vendor rate limits) — results may be thinner than the brief deserves

results[] items

ParameterTypeRequiredDescription
nintegeryesBadge number on the contact sheetrange: -9007199254740991–9007199254740991
sourceenumyesone of: 'shutterstock', 'adobe'
assetIdstringyes
titlestringyes
buyUrlstringyesPurchase/license page for this asset — surface this to the user
attributionstringyesCredit line that must accompany the image wherever it is placed
compobjectyesLargest watermarked comp available via get_image

comp

ParameterTypeRequiredDescription
urlstringyes
widthnumberyes
heightnumberyes