archive_media
Archive items (they leave the main photo grid but stay in albums, search and Archive), or unarchive with archive=false.
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": {
"google_account_email": "<google_account_email>",
"media_keys": "<media_keys>"
},
"name": "archive_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | No | true (default) or false to unarchive. | |
| media_keys | Yes | Library media keys (AF1Qip...) from list_media / search_media, as a JSON array or comma-separated. | |
| google_account_email | Yes | The signed-in Google account email whose Google Photos library to use (e.g. the one at /u/1/). Call list_accounts first and confirm with the user; do not guess. | |
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. |