Get thumbnails batch
get_thumbnails_batchFetch base64-encoded thumbnails for a list of asset IDs to display search results or ad-hoc photo sets without an album. Choose thumbnail or preview size and cap returned items.
Instructions
Get base64-encoded thumbnails for arbitrary asset IDs without needing an album. Use this to visually display search results or any ad-hoc set of photos. For album-based thumbnails, use get_album_thumbnails. For a single photo, use get_asset_thumbnail. Read-only.
Args:
asset_ids: List of asset UUIDs to fetch thumbnails for.
size: 'thumbnail' (250px) or 'preview' (1440px). Default: 'thumbnail'.
limit: Max thumbnails to return (1-50, default 20). Only the first N IDs are fetched.
Returns: JSON with thumbnails array (each with asset_id, base64 data, filename, date).
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": {
"asset_ids": "<asset_ids>"
},
"name": "get_thumbnails_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | thumbnail | |
| limit | No | ||
| asset_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |