Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
OneCLI connects AI agents to Google Photos through Google’s OAuth flow. Agents can search for photos and videos, read media metadata, and manage albums. The gateway injects OAuth credentials into requests to the Google Photos Library API automatically. This is useful for agents that need to find images for content creation, organize photo libraries, or extract metadata from media files.Setup
What agents can do
- Search for photos and videos by date, category, or content type
- List all media items in the library with pagination
- Read media item metadata (creation time, dimensions, camera info, location)
- Download media item content via base URLs
- Create new albums
- Add media items to albums
- List albums and shared albums
- Read album details (title, cover photo, item count)
- Upload new media items to the library