Skip to content

Interface: GoogleMapsTool

@providerprotocol/ai


@providerprotocol/ai / google / GoogleMapsTool

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

Google Maps grounding tool for location-based queries.

Enables Gemini to search for places, businesses, and locations using Google Maps data.

Pricing: $25 per 1,000 grounded prompts.

Note: Not supported in Gemini 3 models.

const tool: GoogleMapsTool = {
googleMaps: {
enableWidget: true,
},
};

googleMaps: object

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

Google Maps configuration

optional enableWidget: boolean

Return widget context token for Places widget