Interface: GoogleMapsTool
@providerprotocol/ai / google / GoogleMapsTool
Interface: GoogleMapsTool
Section titled “Interface: 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.
Example
Section titled “Example”const tool: GoogleMapsTool = { googleMaps: { enableWidget: true, },};Properties
Section titled “Properties”googleMaps
Section titled “googleMaps”googleMaps:
object
Defined in: src/providers/google/types.ts:722
Google Maps configuration
enableWidget?
Section titled “enableWidget?”
optionalenableWidget:boolean
Return widget context token for Places widget