Create an album and fill it in one call
create_album_with_mediaUpload media to a new Google Photos album in a single call, eliminating extra steps and preventing empty albums when uploads fail.
Instructions
Create an album and upload files into it in a single step. Saves three round trips over create_album, upload_from_url and add_to_album, and leaves no empty album behind if the uploads fail.
There is no API to delete uploaded media. Requires confirm: true. Up to 20 URLs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"urls": "<urls>"
},
"name": "create_album_with_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | Public URLs to upload into it, up to 20. | |
| title | Yes | The album title. | |
| 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. | |
| description | No | Description applied to every uploaded item. |