Upload photos or videos from URLs
upload_from_urlDownload files from public URLs and add them to Google Photos, optionally into a specific album. Handles up to 20 URLs per call, with a size limit.
Instructions
Download files from public URLs and add them to the user's Google Photos, optionally straight into an album.
There is no API to delete a media item once uploaded, so this cannot be undone here: the user would have to remove it by hand in the Google Photos app. Requires confirm: true.
Up to 20 URLs per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Public URLs to fetch and upload, up to 20. | |
| max_mb | No | Skip any file larger than this, in MB. Default 100. | |
| account | No | Which connected Google account to act as, by the name it was configured under (or its email). Defaults to the first one. Call list_accounts to see them. | |
| confirm | No | Must be true for this to run. The effect cannot be undone through the API, so it is refused without an explicit confirmation. | |
| album_id | No | Put them straight into this album, which this app must have created. | |
| description | No | Description applied to every uploaded item. |