Upload photos
photos_uploadUpload local photo and video files to Proton Photos, recursing folders while flattening structure and skipping non-media. Duplicate names and content are skipped or renamed, never overwritten.
Instructions
Upload local photo or video files into your Proton Photos library. Non-photo/video files are skipped and counted in skippedItems (with duplicate skips). Folders are recursed but flattened — structure is not preserved. Never overwrites: duplicates (name + content hash) resolve to 'rename' or 'skip' only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPaths | Yes | One or more absolute local paths to files or folders to upload (each must start with '/'). | |
| conflictStrategy | No | How to handle duplicate photos (matched by name + content hash). 'skip' leaves the existing photo unchanged (default); 'rename' uploads under a unique name. |