Upload a local file
upload_fileUpload a photo or video from a local path to Google Photos, optionally into a specific album. Confirmation required because deletion is not possible via API.
Instructions
Upload a photo or video from a path on the machine running this server, optionally straight into an album.
There is no API to delete a media item once uploaded. Requires confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file on this machine. | |
| 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 it straight into this album, which this app must have created. | |
| description | No | Description for the uploaded item. |