Search Gemini chats
Search your Gemini conversations (the "Search chats" box): server-side full-text over titles and message bodies.
Input
query requiredFree-text query, same as the site's "Search chats" box.
Output
results requiredAsk Gemini
Open a new Gemini chat, send one question, and wait for the answer to finish generating (up to 3 min), then return the answer as rendered, the conversation id, and the citation labels Gemini attached to it. Requires a signed-in Google session: gemini.google.com has no anonymous chat, and signed out it serves the marketing page and never mounts a composer. An account that has never opened Gemini also has to accept its first-run terms once in a normal browser; until then the app stays on that same page and the script fails with a descriptive error rather than hanging. The answer is always read in English, whatever language the account is set to. Citations are publisher labels, not links: Gemini renders each grounded claim as an inline chip naming the source ("FIFA", "aimagazine.com +1") and keeps the target URL behind a dialog that only opens on click, so `citations` tells you whether the answer was grounded and on whom, but is not a URL list, and an ungrounded answer returns an empty one. Treat one run as a single draw rather than a measurement: the model may search differently, or not search at all, on the next run of the same question, so repeat a question before concluding anything from it.
List Gemini chats
List your recent Gemini conversations (the sidebar's "Recents" list), newest first.
Get Gemini chat messages
Full message transcript of one Gemini conversation by id, oldest to newest.
