Interface GoogleSearch

Tool to support web search.

interface GoogleSearch {
    blockingConfidence?: PhishBlockThreshold;
    excludeDomains?: string[];
    searchTypes?: SearchTypes;
    timeRangeFilter?: Interval;
}

Properties

blockingConfidence?: PhishBlockThreshold

Optional. Sites with confidence level chosen & above this value will be blocked from the search results. This field is not supported in Gemini API.

excludeDomains?: string[]

Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. This field is not supported in Gemini API.

searchTypes?: SearchTypes

Different types of search that can be enabled on the GoogleSearch tool.

timeRangeFilter?: Interval

Optional. Filter search results to a specific time range. If customers set a start time, they must set an end time (and vice versa). This field is not supported in Vertex AI.