Photo Search
photo_searchSearch Pexels photos by keyword (required); returns paginated results with image URLs in multiple sizes, photographer name, and attribution link.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "mountain landscape"
},
"name": "photo_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Current page number | |
| photos | No | Array of photo objects | |
| per_page | No | Number of results per page | |
| next_page | No | URL for next page of results | |
| total_results | No | Total number of results available |