Start a photo picker session
start_pick_sessionOpen a Google Photos picker to let users choose photos or videos from their entire library, including media this app didn't upload. Returns a picker URI to share with the user for selection.
Instructions
Open a Google Photos picker so the user can choose photos and videos from their ENTIRE library. This is the only way to reach media this app did not upload itself; the Library API cannot see anything else.
Returns a picker_uri. Give that URL to the user and stop. They open it, select items in Google Photos, and finish. Then call check_pick_session until ready is true, and list_picked_media to see what they chose.
Do not call list_picked_media straight after this. Nothing has been picked yet and the empty result does not mean the library is empty.
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": "start_pick_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |