photo_random
Pack: unsplash · Endpoint: https://gateway.pipeworx.io/unsplash/mcp
Retrieve one or more random Unsplash photos; supports optional filters (query, orientation, collections, topics, username, content_filter) passed as extra params.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/unsplash/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"photo_random","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('photo_random', {});
More examples
{
"count": 5
}
Response shape
| Field | Type | Description |
|---|---|---|
id | string | Unique photo identifier |
urls | object | Photo URLs at different sizes |
user | object | Photo author information |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique photo identifier"
},
"urls": {
"type": "object",
"description": "Photo URLs at different sizes",
"additionalProperties": true
},
"user": {
"type": "object",
"description": "Photo author information",
"additionalProperties": true
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"unsplash": {
"url": "https://gateway.pipeworx.io/unsplash/mcp"
}
}
}
See Getting Started for client-specific install steps.