search_google
Search Google and receive structured JSON results with titles, URLs, and snippets. Supports news, maps, images, and local searches.
Instructions
Search Google and return structured results as JSON. Each result includes title, URL, and snippet. Also returns top stories, knowledge graph, local results, news, images, and related searches depending on search type. Use when the user asks to search the web, find current information, or look something up online. Returns 1 credit (light) or 2 credits (full).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query. | |
| search_type | No | Type of search. Use 'news' for recent articles, 'maps' for local results, 'images' for image results. | classic |
| country_code | No | ISO 3166-1 alpha-2 country code, e.g. 'us', 'gb', 'fr'. | us |
| language | No | Language code, e.g. 'en', 'fr', 'de'. | en |
| page | No | Page number, 1-indexed. | |
| device | No | Device type for results. | desktop |
| light_request | No | true = 1 credit (fewer results). false = 2 credits (full results). Use false only when the user needs comprehensive results. |