Find images
find_imagesSearch a curated stock photography library (Pexels) for real imagery to use in a site. Call this BEFORE composing any section that needs imagery — hero, feature-grid with visuals, testimonial cards with portraits, gallery sections, media-and-text sections. Returns large-size URLs, thumbnails, dimensions, average color, and suggested attribution. Chain with upload_image (with url) to persist the chosen image to the site's storage namespace (recommended — external URLs can rot). Be specific with queries; 'brooklyn bakery sourdough on wooden counter' returns much better results than 'bakery'. Rate-limited to 30 searches per minute per user. Read-only: it queries Pexels and returns results. Nothing reaches the site until you call upload_image (with url) with a URL from them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many results to return. Default 6, max 20. | |
| query | Yes | Search query — be specific. 'brooklyn bakery sourdough loaves on wooden counter' beats 'bakery'. Good queries describe subject, setting, mood, lighting; bad queries are single generic nouns. | |
| orientation | No | Shape you need. 'landscape' for full-bleed heroes / media sections, 'portrait' for sidebar + testimonial portraits, 'square' for avatars and team tiles. Omit to get the mix Pexels returns by default. Note 'square' ranks crop-friendly photos first rather than returning only true 1:1 files (there are almost none, and filtering for them throws away every relevant result) — so expect widths and heights that differ, and let the slot centre-crop them. |