search_stock_media
Search free stock photos via Pexels API. Returns image URLs with photographer credits based on query, count, and orientation.
Instructions
Search free stock photos via the Pexels API. Returns image URLs with photographer credits. Requires PEXELS_API_KEY env var (free at pexels.com/api).
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": "search_stock_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return (default: 5, max: 80) | |
| query | Yes | Search query (e.g. 'sunset beach', 'office workspace') | |
| orientation | No | Photo orientation filter |