Skip to main content

Overview

User location information for localizing web search results.

Usage

Parameters

  • city (str): The city where the user is located
  • country (str): Country code (e.g., ‘US’, ‘GB’, ‘DE’)
    • For OpenAI: Must be 2-letter country code
  • region (str): Region or state code (e.g., ‘CA’, ‘NY’, ‘TX’)
  • timezone (str): Timezone identifier (e.g., ‘America/New_York’)

Provider Support

  • Anthropic: ✅ Full support
  • OpenAI Responses: ✅ Full support