Photos Upload
photos_uploadAdd a photo or video to a Google Photos library from a public HTTPS URL or base64 data, optionally placing it in an album and skipping items already in the library.
Instructions
Add one photo or video to the library (and to an album): the file at a public https link (url), or one you have as base64 (data). A file the library already holds is not added again (already_in_library). Returns the item {id, url, type, filename, taken_at, tz_known, width, height, uploaded_at} and the album afterwards. For the person's own files, or a file on disk, use photos_upload_link.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "photos_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https link to the photo or video | |
| data | No | Or the file itself, base64 (up to 10 MiB) | |
| album_id | No | Also put it in this album (photos_albums) | |
| filename | No | Its name in the library (default: from the link or date) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||