URLContextMetadata interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Metadata related to URLContextTool.

Signature:

export interface URLContextMetadata 

Properties

Property Type Description
urlMetadata URLMetadata[] (Public Preview) List of URL metadata used to provide context to the Gemini model.

URLContextMetadata.urlMetadata

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

List of URL metadata used to provide context to the Gemini model.

Signature:

urlMetadata: URLMetadata[];