Search Photos
search_photosSearch Unsplash photos by keyword (required); returns paginated results with image URLs, dimensions, photographer info, and alt text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "mountain landscape"
},
"name": "search_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Total number of search results | |
| results | No | Array of photo objects matching search query | |
| total_pages | No | Total number of pages |