Search Pexels Stock Photos
media.pexels.search_photosSearch curated free stock photos by keyword — filter by orientation (landscape/portrait/square), color, size. Returns multiple resolutions (original to tiny), photographer name, Pexels URL. Free for commercial use (Pexels)
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": "media.pexels.search_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| size | No | Minimum photo size | |
| color | No | Color filter (e.g. "red", "blue", "green", "yellow", "orange", "white", "black") | |
| limit | No | Results per page (default 10, max 80) | |
| query | Yes | Search term (e.g. "sunset beach", "office meeting", "technology") | |
| orientation | No | Photo orientation filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |