Get Random Photos
unsplash_get_randomFetch random Unsplash photos for inspiration, placeholders, or diverse content, optionally filtered by search query or orientation.
Instructions
Get one or more random photos from Unsplash, optionally filtered by search query or orientation.
This tool is perfect for getting inspiration, placeholder images, or diverse photo content. You can narrow the selection with search terms.
Args:
query (string, optional): Search terms to filter random selection
orientation (string, optional): Filter by 'landscape', 'portrait', or 'squarish'
content_filter (string): Safety level 'low' (default) or 'high'
count (number): Number of random photos (1-30, default: 1)
response_format (string): Output as 'markdown' (default) or 'json'
Returns: For JSON format: Array of photo objects For Markdown: Formatted list of photos with details
Examples:
Single random photo: (no parameters)
Random nature photos: query="nature", count=5
Random portraits: orientation="portrait", count=3
Note: Each request returns different random photos.
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": "unsplash_get_random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of random photos to return (max 30) | |
| query | No | Optional search query to narrow random selection | |
| orientation | No | Filter by photo orientation | |
| content_filter | No | Content safety filter level | low |
| response_format | No | Output format: markdown (default) or json | markdown |