collections_media
Retrieve a paginated list of media items from a specific Pexels collection. Filter results by type (photos, videos, or all).
Instructions
List collection media
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": {
"id": "<id>"
},
"name": "collections_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Collection ID | |
| type | No | photos | videos | all | |
| per_page | No | Results per page (string, 1-80) | 15 |
| page | No | Page number (string, minimum 1) | 1 |