Search Unsplash Photos
unsplash_search_photosFind Unsplash photos by keyword, applying optional filters for orientation, color, collection, and sort. Returns paginated photo URLs with attribution-ready details and adjustable image sizes.
Instructions
Search Unsplash photos by keyword, with optional filters (orientation, color, order, collections, language). Returns paginated compact photos with URLs and ready-to-use attribution. Content is filtered to "high" safety by default. Read-only. Each photo includes a raw imgix base URL — append params for a custom size/format, e.g. ?w=800&h=600&q=80&fm=webp&fit=crop — plus fixed full/regular/small/thumb sizes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "unsplash_search_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ISO language code for the query, e.g. "en", "es", "fr". | |
| page | No | Page number, 1-based. | |
| color | No | Filter by dominant color. | |
| query | Yes | Search terms (required). | |
| order_by | No | Sort order (Unsplash defaults to relevant). | |
| per_page | No | Results per page (clamped to a max of 30). | |
| collections | No | Comma-separated collection ID(s) to limit results to. | |
| orientation | No | Filter by photo orientation. | |
| content_filter | No | Content safety filter. Defaults to "high" to exclude potentially unsafe content. | high |