search_photos
Search Pexels for free stock photos using a query string, with filters for orientation, size, and dominant color to find the right image for any project.
Instructions
Search for photos on Pexels using a query string
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_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| size | No | Minimum photo size | |
| color | No | Filter by dominant color | |
| query | Yes | Search term for photos | |
| per_page | No | Number of results per page (max 80, default 15) | |
| orientation | No | Filter by photo orientation |