Skip to content

Interface: GoogleSearchTool

@providerprotocol/ai


@providerprotocol/ai / google / 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
const tool: GoogleSearchTool = {
googleSearch: {},
};

googleSearch: Record<string, never>

Defined in: src/providers/google/types.ts:656

Empty object to enable Google Search grounding