Access Google Photos via the Google Photos Library API with managed OAuth authentication. Upload media, search photos, create and manage albums, and update media items.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Photos API access yourself.
Step 1: InstallStep 2: Pair AccountStep 3: Connect Google Photos
_App-specific connection GIF coming soon_Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Google Photos
text
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Google Photos │
│ (User Chat) │ │ (OAuth) │ │ (Photos API) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Photos │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Google │
│ File │ │ Auth │ │ Photos │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
bash
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Photos again."
bash
# List albums
clawlink_call_tool --tool "googlephotos_list_albums" --params '{}'
# List media items
clawlink_call_tool --tool "googlephotos_list_media_items" --params '{"page_size": 50}'
# Create an album
clawlink_call_tool --tool "googlephotos_create_album" --params '{"album_title": "Vacation Photos"}'
All Google Photos tool calls are authenticated automatically by ClawLink using the user's connected Google account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Google Photos API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.bash
clawlink_list_integrations
Response: Returns all connected integrations. Look for googlephotos in the list.
bash
clawlink_list_tools --integration googlephotos
Response: Returns the live tool catalog for Google Photos.
If Google Photos tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration googlephotosAs of March 31, 2025, the Google Photos Library API only returns media items that were uploaded or created by this application. It cannot access photos taken by the user's camera or uploaded from other apps. For accessing the user's full photo library, use the Google Photos Picker API instead.
ToolDescriptionModegooglephotos_list_albumsList all albums shown in the user's Albums tabReadgooglephotos_get_albumGet a specific album by its IDReadgooglephotos_create_albumCreate a new album with a titleWritegooglephotos_update_albumUpdate an album's title or cover photoWrite
ToolDescriptionModegooglephotos_list_media_itemsList media items created by this applicationReadgooglephotos_search_media_itemsSearch media items in the user's libraryReadgooglephotos_batch_get_media_itemsGet specific media items by their IDsReadgooglephotos_get_media_item_downloadDownload a media item as a fileReadgooglephotos_update_media_itemUpdate a media item's descriptionWrite
ToolDescriptionModegooglephotos_upload_mediaUpload an image (up to 200MB) or video (up to 20GB)Writegooglephotos_batch_create_media_itemsBatch upload and create media items (up to 50 per request)Write
ToolDescriptionModegooglephotos_batch_add_media_itemsAdd existing media items to an albumWritegooglephotos_add_enrichmentAdd an enrichment (text, location, etc.) at a position in an albumWrite
bash
clawlink_call_tool --tool "googlephotos_list_albums" \
--params '{
"page_size": 50
}'
bash
clawlink_call_tool --tool "googlephotos_list_media_items" \
--params '{
"page_size": 100
}'
bash
clawlink_call_tool --tool "googlephotos_create_album" \
--params '{
"album_title": "Summer Vacation 2024"
}'
bash
clawlink_call_tool --tool "googlephotos_batch_create_media_items" \
--params '{
"album_id": "YOUR_ALBUM_ID",
"media_files": [
{"url": "https://example.com/photo1.jpg", "file_name": "beach_sunset.jpg", "description": "Beautiful sunset at the beach"},
{"url": "https://example.com/photo2.jpg", "file_name": "mountain_view.jpg", "description": "View from the mountain top"}
]
}'
bash
clawlink_call_tool --tool "googlephotos_batch_add_media_items" \
--params '{
"album_id": "YOUR_ALBUM_ID",
"media_item_ids": ["MEDIA_ITEM_ID_1", "MEDIA_ITEM_ID_2"]
}'
bash
clawlink_call_tool --tool "googlephotos_update_media_item" \
--params '{
"media_item_id": "YOUR_MEDIA_ITEM_ID",
"description": "Updated description for this photo"
}'
clawlink_list_integrations to confirm Google Photos is connected.clawlink_list_tools --integration googlephotos to see the live catalog.clawlink_search_tools with a short query and integration googlephotos.text
┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → call │
│ │
│ Example: List albums → Get album → Show results │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ describe → preview → confirm → call │
│ │
│ Example: Describe tool → Preview → User approves │
│ → Execute upload or update │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.Status / ErrorMeaningTool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration googlephotos.Missing connectionGoogle Photos is not connected. Direct the user to https://claw-link.dev/dashboard?add=googlephotos.NOT_FOUNDAlbum or media item does not exist. Check the ID.INVALID_ARGUMENTInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.Write rejectedUser did not confirm a write action. Always confirm before executing writes.
Check that the ClawLink plugin is installed: bash
openclaw plugins list
If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
If a fresh chat does not help, run: bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
After restart, tell the user to send /new again and retry.
googlephotos.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
