List photos in a gallery
List the photos and videos in a gallery with title, caption, keywords and a thumbnail link.
MCP tool smugmug_read → list_gallery_photos
read
Returns each file in the order the gallery shows it, with its photo ID, filename, title, caption, keywords, thumbnail link and page link. Pages are cut by the cursor. Filenames are shown as stored; SmugMug does not let you edit them.
Parameters
| Name | Type | Description |
|---|---|---|
| gallery_id string required | string | Gallery ID from list_galleries. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "smugmug_read",
"arguments": {
"operation": "list_gallery_photos",
"arguments": {
"gallery_id": "gallery_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"gallery_id": "Xk4RtP",
"photos": [
{
"photo_id": "Qm7xKd",
"filename": "DSC_3025.jpg",
"title": "",
"caption": "",
"keywords": [],
"thumbnail_url": "https://photos.smugmug.com/photos/i-Qm7xKd/0/Th/i-Qm7xKd-Th.jpg"
},
{
"photo_id": "Rt2nWc",
"filename": "DSC_3026.jpg",
"title": "",
"caption": "First dance",
"keywords": [
"wedding"
],
"thumbnail_url": "https://photos.smugmug.com/photos/i-Rt2nWc/0/Th/i-Rt2nWc-Th.jpg"
}
],
"next_cursor": null
},
"isError": false
}