struct

Anthropic::UserLocation

Inherits JSON::Serializable < Struct < Value < Object

User location for localized web search results

Constructors

new(city : String | Nil = nil, region : String | Nil = nil, country : String | Nil = nil, timezone : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city
Source
country
Source
region
Source
timezone
Source
type
Source