Search the Internet for sources related to the prompt.

Hierarchy (view full)

Constructors

Properties

[PROVIDER_TOOL_SYMBOL]: true
[TOOL_SYMBOL]: true
filters: undefined | null | Filters

Filters for the search, such as allowed domains.

id: string

Stable identifier used to key the tool inside a ToolContext. For function tools this mirrors name; for provider tools this is the provider tool id.

searchContextSize: null | WebSearchContextSize

Amount of context window space to use for the search.

type: "provider"
userLocation: undefined | null | UserLocation

Approximate location of the user.

Methods