Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Approximate user location for location-biased search results. Passed through to native providers that support it (e.g. Anthropic).

Fields

FieldTypeRequiredDescription
cityOptionalNullable[str]:heavy_minus_sign:N/A
countryOptionalNullable[str]:heavy_minus_sign:N/A
regionOptionalNullable[str]:heavy_minus_sign:N/A
timezoneOptionalNullable[str]:heavy_minus_sign:N/A
typecomponents.WebSearchPluginType:heavy_check_mark:N/A