google_ai_mode
Execute Google searches with AI mode enabled to obtain structured JSON results including reference sources, text blocks, shopping, images, and local information.
Instructions
Searches Google with AI Mode enabled and returns structured results with reference sources and text blocks (paragraphs, headings, lists). [Credits: 10 API credits per successful request] Notes: uule and location are mutually exclusive geo-targeting mechanisms. country further localizes the search alongside location/uule. Returns: JSON with shopping_results (array), inline_images (array), text_blocks (array of typed blocks: paragraph {type, snippet, links[]}, heading {type, text, level}, list {type, items[]}), references (array of {title, link, snippet, source, index}), and local_results (array).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | If true, returns the full HTML of the Google page instead of/alongside structured JSON. (default: false) | |
| safe | No | Adult content filter. Allowed values: `active` (filter on) or `off` (filter disabled). (default: off) | |
| uule | No | Encoded parameter specifying the geographic location/locale for tailored results (e.g. w+CAIQIFJlbGF5IFN0YXRlcw==). Cannot be used together with `location`. | |
| query | Yes | The query you want to search in Google AI Mode. | |
| country | No | Two-letter country code for the Google search (e.g. us, uk, fr). See Google Country Parameter documentation for full list. (default: us) | |
| location | No | Specifies the origin location of the search. Cannot be used together with `uule`. |