Upload, search, and manage photos, albums, and media items in Google Photos — powered by ClawLink.
--- name: google-photos-albums description: Upload, search, and manage photos, albums, and media items in Google Photos — powered by ClawLink. --- # Google Photos for OpenClaw Work with Google Photos from chat — upload media, search photos, manage albums, and update media items. Powered by [ClawLink](https://claw-link.dev), an integration hub for OpenClaw that handles hosted connection flows and credentials so you don't need to configure Google Photos API access yourself. ## Quick start 1. Install the verified ClawLink plugin: `openclaw plugins install clawhub:clawlink-plugin` 2. Start a fresh OpenClaw chat if the plugin was just installed and ClawLink tools are not visible yet 3. If ClawLink is not configured, call `clawlink_begin_pairing` 4. Tell the user to open the returned pairing URL, sign in to ClawLink if needed, and approve the device 5. After the user confirms approval, call `clawlink_get_pairing_status` 6. Tell the user to connect Google Photos at [claw-link.dev/dashboard?add=googlephotos](https://claw-link.dev/dashboard?add=googlephotos) 7. When the user confirms Google Photos is connected, call `clawlink_list_integrations` and then `clawlink_list_tools` with the `googlephotos` integration slug ## Setup details ### Installing the plugin If the ClawLink plugin is not installed yet, tell the user to run: ``` openclaw plugins install clawhub:clawlink-plugin ``` If the current chat started before the plugin was installed and ClawLink tools are still unavailable, tell the user to start a fresh chat so OpenClaw reloads the plugin tool catalog. ### Pairing ClawLink If ClawLink reports that the plugin is not configured, the plugin has not been paired with the user's ClawLink account yet. 1. Call `clawlink_begin_pairing`. 2. Tell the user to open the returned pairing URL in their browser. 3. The user signs in to ClawLink if needed and approves the OpenClaw device. 4. After the user confirms approval, call `clawlink_get_pairing_status` to finish local setup. Pairing stores a local ClawLink credential in OpenClaw's plugin config so future tool calls can work. The user should not paste raw credentials into chat. ### Connecting Google Photos Tell the user to open https://claw-link.dev/dashboard?add=googlephotos and connect Google Photos there. The page opens the add-connection panel filtered to Google Photos. ClawLink's hosted page runs the Google account connection flow — the user clicks through Google sign-in and consent. When they confirm it is done, call `clawlink_list_integrations` to verify, then call `clawlink_list_tools` with integration `googlephotos`. ## Using Google Photos tools ClawLink provides tools dynamically based on what the user has connected. You do not need to know tool names or schemas in advance. ### Discovery 1. Call `clawlink_list_integrations` to confirm Google Photos is connected. 2. Call `clawlink_list_tools` with integration `googlephotos`. 3. Treat the returned list as the source of truth. Do not guess or assume what tools exist. 4. If the user describes a capability but the exact tool is unclear, call `clawlink_search_tools` with a short query and integration `googlephotos`. 5. If no Google Photos tools appear, direct the user to https://claw-link.dev/dashboard?add=googlephotos. ### Execution 1. Call `clawlink_describe_tool` before using an unfamiliar tool, before any write, or when the request is ambiguous. 2. Use the returned schema, `whenToUse`, `askBefore`, `safeDefaults`, `examples`, and `followups`. 3. Prefer list, search, and read operations before writes. 4. For uploads, album changes, or media item updates, call `clawlink_preview_tool` first, then confirm with the user. 5. Execute with `clawlink_call_tool`. 6. If it fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion. ## What you can do Typical Google Photos tasks (actual availability depends on the user's connected account, permissions, scopes, and current ClawLink tool catalog): - List and search albums and media items - Upload and batch-create media items in the library or into albums - Add existing media items to an album - Create new albums and update album titles or cover photos - Download a media item - Update a media item's description **Note:** Due to Google Photos API restrictions (effective March 31, 2025), listing media items only returns content uploaded by this application, not the user's full camera roll or photos from other apps. ## Rules - Always use ClawLink tools for Google Photos. Do not ask the user for separate Google credentials. - Do not claim a capability is missing without checking the live ClawLink catalog in the current turn. - Do not invent slash commands or ask the user to paste raw credentials. - Ask for confirmation before uploads, album creation, or any media item changes. - If Google Photos is not connected, direct the user to https://claw-link.dev/dashboard?add=googlephotos. - Never echo or repeat the user's ClawLink credential. ## Resources - ClawLink: https://claw-link.dev - ClawLink Docs: https://docs.claw-link.dev/openclaw - ClawLink Verification: https://claw-link.dev/verify - ClawLink Source: https://github.com/hith3sh/clawlink - Google Photos API: https://developers.google.com/photos/library/guides/overview
don't have the plugin yet? install it then click "run inline in claude" again.