set_favorite
Mark items as favorites (favorite=true, default) or remove the favorite (favorite=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": "set_favorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| favorite | No | true (default) or false. | |
| 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. |