Collection media
collection_mediaList photos and videos from a Pexels collection with inline thumbnails. Supports filtering by type, pagination, and custom preview size.
Instructions
List media inside a collection (photos and/or videos), compact format + inline thumbnails.
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": "collection_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Collection id from featured_collections | |
| page | No | ||
| type | No | Filter to one media type | |
| per_page | No | ||
| previews | No | ||
| preview_height | No |