Skip to content

Interface: GoogleGroundingMetadata

@providerprotocol/ai


@providerprotocol/ai / google / GoogleGroundingMetadata

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

Grounding metadata returned with search/maps results.

optional googleMapsWidgetContextToken: string

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

Google Maps widget context token


optional groundingChunks: object[]

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

Grounding chunks (sources)

optional maps: object

placeId: string

title: string

uri: string

optional web: object

title: string

uri: string


optional groundingSupports: object[]

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

Grounding supports (citations)

confidenceScores: number[]

groundingChunkIndices: number[]

segment: object

endIndex: number

startIndex: number

text: string


optional searchEntryPoint: object

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

Search entry point with rendered HTML

renderedContent: string


optional webSearchQueries: string[]

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

Web search queries executed