Ask Google AI Mode
Automatically ask Google AI Mode on google.com. Ask Google AI Mode one question and wait for its answer (up to 2 min). Returns the answer as Markdown (headings, lists, tables and links kept) and the pages it cites, in the order the answer first cites them, each with url, title, site, byline and snippet; sources is empty when the answer cites nothing. Signed in to Google, the question is kept in the account's AI Mode history. One run is one draw: the same question can be answered or cited differently on the next run, and the answer follows the browser's account and location. A browser where Google offers no AI Mode fails with a message that says so.
Input
question requiredThe question, as typed in AI Mode, e.g. 'best tools to monitor reddit mentions'.
Output
text requiredThe answer as Markdown. Each citation chip is kept in its place as links to the pages it stands for, e.g. "([Reddit](https://…), [YouTube](https://…))".
sources requiredThe pages the answer cites, one per page, in the order the answer first cites them.
FAQ
Search Google
Run a Google search and return one page of organic results (title, url, site, byline, meta, snippet), with Google's link wrappers resolved to the destination url. Results can be personalized to the browser's Google account and location. Narrow queries return the same results in the same order on replay; very broad ones may reorder. For more coverage, fetch several pages or split the query (different site: paths, phrases, or freshness windows), and dedupe by url. An empty list means Google found nothing; when Google shows its anti-bot check, the run fails and says so.
Search Google Maps places
Search Google Maps for places, optionally near a location, and get the list Maps shows, in its order: name, address, phone, website, main category and all categories, star rating, number of reviews, price range, coordinates and the Google place id. Use the place id with get_place for the opening hours and with get_place_reviews for the reviews. Google Maps lists at most 120 places for one search; complete is true when that list ended, false when cap stopped it first. A precise query that Maps opens as one place returns that one place. Category names follow hl, or the browser's language when hl is empty.
Search Gmail
Search the signed-in Gmail with the native query syntax (from:, to:, subject:, has:attachment, after:/before:, labels…) and return matching threads: threadId (feed it to get_thread / reply_to_email), sender, senderEmail, subject, snippet, date, unread, starred, hasAttachment. Results are threads rather than individual messages, which is Gmail's own search granularity, and only the first page of results is returned (up to 50).
