location property

WebSearchLocation? location
final

Geographic location for search localization

  • Anthropic: Maps to user_location parameter
  • xAI: Not directly supported, but can be included in search context

Implementation

final WebSearchLocation? location;