Interface: GoogleSearchTool
@providerprotocol/ai / google / GoogleSearchTool
Interface: GoogleSearchTool
Section titled “Interface: GoogleSearchTool”Defined in: src/providers/google/types.ts:654
Google Search grounding tool for real-time web information.
Enables Gemini to search the web using Google Search for up-to-date information. Results are returned with grounding metadata including sources and citations.
Pricing:
- Gemini 2.x and earlier: $35 per 1,000 grounded prompts
- Gemini 3.x: $14 per 1,000 search queries
Example
Section titled “Example”const tool: GoogleSearchTool = { googleSearch: {},};Properties
Section titled “Properties”googleSearch
Section titled “googleSearch”googleSearch:
Record<string,never>
Defined in: src/providers/google/types.ts:656
Empty object to enable Google Search grounding